PrintingSystemBase.InsertPageBreak(Single, Margins, Nullable<PaperKind>, Size, Nullable<Boolean>) Method
Inserts a page break at a specified position, with the specified settings for the subsequent page.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
public void InsertPageBreak(
float pos,
Margins margins,
PaperKind? paperKind,
Size pageSize,
bool? landscape
)
Parameters
Name | Type | Description |
---|---|---|
pos | Single | A Single value which specifies the position to insert a page break. |
margins | Margins | A Margins object. |
paperKind | Nullable<PaperKind> | A PaperKind enumeration value. |
pageSize | Size | A Size structure. |
landscape | Nullable<Boolean> | true to print a page in landscape orientation; otherwise, false. |
Remarks
A page break must be inserted between two bricks. The pos parameter value must be the next coordinate value, after the lowest coordinate of the brick preceding the page break.
See Also