XtraPageSettingsBase.ApplyPageSettings(XtraPageSettingsBase, PaperKind, Size, Margins, Margins, Boolean, String) Method
Applies the defined page settings.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
public static bool ApplyPageSettings(
XtraPageSettingsBase pageSettings,
PaperKind paperKind,
Size customPaperSize,
Margins margins,
Margins minMargins,
bool landscape,
string paperName
)
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. |
paperName | String | A string representing the name of a custom paper. |
Returns
Type | Description |
---|---|
Boolean | true, to apply page settings; otherwise, false. |
See Also