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


IPaper.QueryPaperSize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IP > IPaper Interface > IPaper.QueryPaperSize Method
ArcGIS Developer Help

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(
  System.Double* Width,
  System.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