Skip to main content

CompositeLink.PageBreaks Property

Provides access to a collection of page breaks to be inserted into the resulting document.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.1.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public PageBreakInfoCollection PageBreaks { get; }

Property Value

Type Description
PageBreakInfoCollection

A collection of page breaks to be inserted into the resulting document.

Remarks

Use this property to manage page breaks inserted between specific printing links of the current CompositeLink.

compositeLink.PageBreaks.Add(new PageBreakInfo(links[0]) { PageBreakAfter = true });
compositeLink.PageBreaks.Add(new PageBreakInfo(links[1]) { PageBreakAfter = true });
compositeLink.PageBreaks.Add(new PageBreakInfo(links[2]) { PageBreakAfter = true });
See Also