Table of Contents

Property Orientation

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

Orientation

Gets or sets the page orientation of the section. If Orientation is set, the PageFormat will be rotated if necessary. If PageWidth and PageHeight are set, the actual orientation will be defined by width and height. This applies also if only one of those values is set and the other one is calculated according to PageFormat and Orientation values. A quadratic page is considered to be Portrait.

public Orientation Orientation { get; set; }

Property Value

Orientation