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


IPrintAndExport.PrintPages Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IPrintAndExport.PrintPages Method

Print the specified pages.

[Visual Basic .NET]
Public Sub PrintPages ( _
    ByVal pActiveView As IActiveView, _
    ByVal pPrinter As IPrinter, _
    ByVal pPage As IPage, _
    ByVal options As IPrintAndExportPageOptions, _
    [ByVal resRatio As Integer], _
    [ByVal pTrackCancel As ITrackCancel] _
)
[C#]
public void PrintPages (
    IActiveView pActiveView,
    IPrinter pPrinter,
    IPage pPage,
    IPrintAndExportPageOptions options,
    int resRatio,
    ITrackCancel pTrackCancel
);
[C#]

Optional Values

resRatio   Supply 0 as a default value.
pTrackCancel   Supply 0 as a default value.
[C++]
HRESULT PrintPages(
  IActiveView* pActiveView,
  IPrinter* pPrinter,
  IPage* pPage,
  IPrintAndExportPageOptions* options,
  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 options [in]
options is a parameter of type IPrintAndExportPageOptions 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