Table of Contents

Property Orientation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Orientation

Gets or sets the PdfPaperOrientation value specifying the orientation of the page.

public PdfPaperOrientation Orientation { get; set; }

Property Value

PdfPaperOrientation

The PdfPaperOrientation value specifying the orientation of the page.

Remarks

Default value: Portrait.

NOTE: Changing the value of this property updates value of MediaBox property.

The Impose PDF section contains an example of using this property.

Exceptions

UnexpectedStructureException

The internal PDF structure does not contain the corresponding required value, or the value has an unexpected type.