ArcObjects Library Reference  (Output)    

IPaper.QueryPaperSize Method

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

[Visual Basic 6.0]
Sub QueryPaperSize(
    Width As Double, _
    Height As Double _
)
[Visual Basic .NET]
Public Sub QueryPaperSize ( _
    ByRef Width As Double, _
    ByRef Height As Double _
)
[C#]
public void QueryPaperSize (
    ref double Width,
    ref double Height
);
[Java]
public void queryPaperSize (
    double Width,
    double Height
)
throws
    IOException,
    AutomationException
[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

Example

IPaper QueryPaperSize Example

 


Feedback Send feedback on this page