Class PaperOrientation
Page orientation to use for printing.
Inheritance
Namespace: IronPrint
Assembly: IronPrint.dll
Syntax
public sealed class PaperOrientation : Enum
PaperOrientation selects how the page is rotated for a print job and is assigned to PrintSettings.PaperOrientation. Portrait prints upright for standard documents, Landscape prints sideways for wide tables and spreadsheets, and Automatic follows the document's own orientation. The paper orientation guide shows the property in a complete print job, alongside the other print settings.
settings.PaperOrientation = PaperOrientation.Landscape;Fields
Automatic
Use the current orientation of the document.
Declaration
public const PaperOrientation Automatic
Field Value
| Type | Description |
|---|---|
| PaperOrientation |
Landscape
Landscape.
Declaration
public const PaperOrientation Landscape
Field Value
| Type | Description |
|---|---|
| PaperOrientation |
Portrait
Portrait.
Declaration
public const PaperOrientation Portrait
Field Value
| Type | Description |
|---|---|
| PaperOrientation |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |