 |
PdfPageOrientation Property |
Gets or sets the orientation of the page.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfPageOrientation Orientation { get; set; }Public Property Orientation As PdfPageOrientation
Get
Set
Property Value
PdfPageOrientation
Remarks
Setting the orientation reshapes the page: the page keeps its dimensions but they are
swapped so the longer edge runs along the requested axis. Setting it is only supported on
a page of a document created from scratch — the pages of a loaded document keep the
geometry they were saved with.
See Also