This document is archived and information here might be outdated.  Recommended version.


IPrintAndExport.Print Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPrintAndExport Interface > IPrintAndExport.Print Method
ArcGIS Developer Help

IPrintAndExport.Print Method

Print the specified view.

[Visual Basic .NET]
Public Sub Print ( _
    ByVal pActiveView As IActiveView, _
    ByVal pPrinter As IPrinter, _
    ByVal pPage As IPage, _
    [ByVal PageID As Integer], _
    [ByVal resRatio As Integer], _
    [ByVal pTrackCancel As ITrackCancel] _
)
[C#]
public void Print (
    IActiveView pActiveView,
    IPrinter pPrinter,
    IPage pPage,
    int PageID,
    int resRatio,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT Print(
  IActiveView* pActiveView,
  IPrinter* pPrinter,
  IPage* pPage,
  long PageID,
  long resRatio,
  ITrackCancel* pTrackCancel
);
[C++]
Parameters
pActiveView [in]

pActiveView is a parameter of type IActiveView* pPrinter [in]
pPrinter is a parameter of type IPrinter* pPage [in]
pPage is a parameter of type IPage* PageID [in, optional, defaultvalue()]
PageID is a parameter of type long resRatio [in, optional, defaultvalue()]
resRatio is a parameter of type long pTrackCancel [in, optional, defaultvalue()]
pTrackCancel is a parameter of type ITrackCancel*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IPrintAndExport Interface

.NET Samples

Print active view Print active view with ArcPress