ArcObjects Library Reference (Carto)  

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#]

Optional Values

PageID   Supply 1 as a default value.
resRatio   Supply 0 as a default value.
pTrackCancel   Supply 0 as a default value.
[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(1)]   PageID is a parameter of type long resRatio [in, optional, defaultvalue(0)]   resRatio is a parameter of type long pTrackCancel [in, optional, defaultvalue(0)]

  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 (Code Files: PrintActiveViewVB_Net_Addin) | Print active view with ArcPress (Code Files: PrintActiveViewArcPressVB_Net_Addin) |