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


IPaper.QueryPaperSize Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Output)  

IPaper.QueryPaperSize Method

Returns the size of the printer paper. Units property specifies measurement units.

[Visual Basic .NET]
Public Sub QueryPaperSize ( _
    ByRef Width As Double, _
    ByRef Height As Double _
)
[C#]
public void QueryPaperSize (
    ref double Width,
    ref double Height
);
[C++]
HRESULT QueryPaperSize(
  double* Width,
  double* Height
);
[C++]

Parameters Width [out] Width is a parameter of type double Height [out] Height is a parameter of type double

Product Availability

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

See Also

IPaper Interface