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


IPaper.Orientation Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

IPaper.Orientation Property

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

[Visual Basic .NET]
Public Property Orientation As Short
[C#]
public short Orientation {get; set;}
[C++]
HRESULT get_Orientation(
  System.Int16* Orientation
);
[C++]
HRESULT put_Orientation(
  short Orientation
);
[C++]

Parameters 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)