ArcObjects Library Reference (Output)  

IPaper.Orientation Property

The printer page orientation (1 = portrait. 2 = landscape).

[Visual Basic .NET]
Public Property Orientation As Short
public short Orientation {get; set;}
HRESULT get_Orientation(
  short* Orientation
HRESULT put_Orientation(
  short Orientation


Orientation [out, retval]   Orientation is a parameter of type short Orientation [in]   Orientation is a parameter of type short

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IPaper Interface

.NET Samples

Print active view (Code Files: PrintActiveViewVB_Net_Addin)