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 XObject.

public PdfPaperOrientation Orientation { get; set; }

Property Value

PdfPaperOrientation

The PdfPaperOrientation value specifying the orientation of the XObject.

Remarks

Default value: Portrait.

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

Exceptions

UnexpectedStructureException

The value in the internal PDF structure is of an unexpected type or cannot be converted to a PdfBox value.