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


IPrintAndExport.PrintPages 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.PrintPages Method
ArcGIS Developer Help

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++]
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()]
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