PrintingSystemBase.Pages Property
Provides access to a collection of pages generated for this printing system.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v22.2.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design
Declaration
Property Value
Type | Description |
---|---|
PageList | A PageList object which represents a collection of pages. |
Remarks
After a printing system’s PrintingSystemBase.Document is generated (e.g. after the LinkBase.CreateDocument LinkBase.CreateDocument is called), all pages of the generated Document are accessed via the Pages property. Then, you’re able to change the page order in this collection, or add pages from other documents, or insert new empty pages via the PrintingSystemBase.CreatePage method. Note that if the pages collection is modified after it was originally generated, the Document.IsModified property returns true.
Note
Whether the page numbers show the initial position of pages in the original document or all pages are renumbered, is controlled via the PrintingSystemBase.ContinuousPageNumbering property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.