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


IPrinter.QueryPaperSize Method (ArcObjects .NET 10.4 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(
  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

IPrinter Interface