XtraPageSettingsBase.ApplyPageSettings(XtraPageSettingsBase, PaperKind, Size, Margins, Margins, Boolean) Method
Applies the defined page settings.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v20.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core
Declaration
public static bool ApplyPageSettings(
XtraPageSettingsBase pageSettings,
PaperKind paperKind,
Size customPaperSize,
Margins margins,
Margins minMargins,
bool landscape
)
Parameters
Name | Type | Description |
---|---|---|
pageSettings | XtraPageSettingsBase | Current page settings. |
paperKind | PaperKind | A PaperKind enumeration value. |
customPaperSize | Size | A Size value which represents the size of a custom paper. |
margins | Margins | A Margins object representing the margins (in hundredths of an inch) of a report page. |
minMargins | Margins | A Margins object representing the minimum margins. |
landscape | Boolean | true if the page orientation is landscape; otherwise, false. |
Returns
Type | Description |
---|---|
Boolean | true to apply page settings; otherwise, false. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplyPageSettings(XtraPageSettingsBase, PaperKind, Size, Margins, Margins, Boolean) method.
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.