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


IPage.GetDeviceBounds Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IPage.GetDeviceBounds Method

Return the printer page size in device units.

[Visual Basic .NET]
Public Sub GetDeviceBounds ( _
    ByVal Printer As IPrinter, _
    ByVal currentPage As Short, _
    ByVal Overlap As Double, _
    ByVal Resolution As Short, _
    ByVal deviceBounds As IEnvelope _
)
[C#]
public void GetDeviceBounds (
    IPrinter Printer,
    short currentPage,
    double Overlap,
    short Resolution,
    IEnvelope deviceBounds
);
[C++]
HRESULT GetDeviceBounds(
  IPrinter* Printer,
  short currentPage,
  double Overlap,
  short Resolution,
  IEnvelope* deviceBounds
);
[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 Resolution [in] Resolution is a parameter of type short deviceBounds [in]
deviceBounds is a parameter of type IEnvelope

Product Availability

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

See Also

IPage Interface