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


IPaper.Orientation Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IP > IPaper Interface > IPaper.Orientation Property
ArcGIS Developer Help

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