A newer version of this page is available. Switch to the current version.

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


public void InsertPageBreak(
    float pos,
    Margins margins,
    PaperKind? paperKind,
    Size pageSize,
    bool? landscape
Public Sub InsertPageBreak(
    pos As Single,
    margins As Margins,
    paperKind As PaperKind?,
    pageSize As Size,
    landscape As Boolean?


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.


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