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