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


IPrinter.QueryPaperSize Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

IPrinter.QueryPaperSize Method

Returns Page Size for Printer.

[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

IPrinter Interface