XtraPageSettingsBase.ApplyPageSettings(XtraPageSettingsBase, DXPaperKind, Size, DXMargins, DXMargins, Boolean) Method
Applies the defined page settings.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v23.2.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
public static bool ApplyPageSettings(
XtraPageSettingsBase pageSettings,
DXPaperKind paperKind,
Size customPaperSize,
DXMargins margins,
DXMargins minMargins,
bool landscape
)
Parameters
Name | Type | Description |
---|---|---|
pageSettings | XtraPageSettingsBase | Current page settings. |
paperKind | DXPaperKind | An enumeration value. |
customPaperSize | Size | The size of a custom paper. |
margins | DXMargins | The margins (in hundredths of an inch) of a report page. |
minMargins | DXMargins | The minimum margins. |
landscape | Boolean |
|
Returns
Type | Description |
---|---|
Boolean |
|
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplyPageSettings(XtraPageSettingsBase, DXPaperKind, Size, DXMargins, DXMargins, 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.