Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Printing, 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