Skip to main content
.NET Framework 4.5.2+

PdfPrinterSettings.PageOrientation Property

Specifies the orientation of pages to be printed.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v22.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

Declaration

public PdfPrintPageOrientation PageOrientation { get; set; }

Property Value

Type Description
PdfPrintPageOrientation

A PdfPrintPageOrientation value. The default value is PdfPrintPageOrientation.Auto.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PageOrientation
WinForms Controls PdfPageSetupDialogShowingEventArgs
.PrinterSettings.PageOrientation
WPF Controls PageSetupDialogShowingEventArgs
.PrinterSettings.PageOrientation

Remarks

Note that some printers may ignore the PageOrientation property. In this case, page orientation can be customized in printer driver properties.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PageOrientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also