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(
  short* 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) |