Skip to main content

Document.Pages Property

Provides access to the collection of pages within the current document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design

Declaration

public PageList Pages { get; }

Property Value

Type Description
PageList

A PageList object, specifying the collection of pages.

Remarks

After Printing System has generated a Document (e.g., on calling the LinkBase.CreateDocument or XtraReport.CreateDocument method), you can access the collection of document pages using the Pages property. This enables you to reorder pages, add pages from other documents or insert blank pages using the PrintingSystemBase.CreatePage method.

The Document.IsModified property returns true if the collection of pages has been modified after its creation.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Pages property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also