![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
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*