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


IPage.GetPageBounds Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IPage.GetPageBounds Method

Return the page size in page units.

[Visual Basic .NET]
Public Sub GetPageBounds ( _
    ByVal Printer As IPrinter, _
    ByVal currentPage As Short, _
    ByVal Overlap As Double, _
    ByVal pageBounds As IEnvelope _
)
[C#]
public void GetPageBounds (
    IPrinter Printer,
    short currentPage,
    double Overlap,
    IEnvelope pageBounds
);
[C++]
HRESULT GetPageBounds(
  IPrinter* Printer,
  short currentPage,
  double Overlap,
  IEnvelope* pageBounds
);
[C++]

Parameters Printer [in]
Printer is a parameter of type IPrinter currentPage [in] currentPage is a parameter of type short Overlap [in] Overlap is a parameter of type double pageBounds [in]
pageBounds is a parameter of type IEnvelope

Product Availability

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

See Also

IPage Interface