Back to Devexpress

PrintingSystemBase.ContinuousPageNumbering Property

corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-0994cb4c.md

latest2.9 KB
Original Source

PrintingSystemBase.ContinuousPageNumbering Property

Gets or sets a value indicating whether pages should be renumbered following reordering in the PrintingSystemBase.Pages collection.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(true)]
public bool ContinuousPageNumbering { get; set; }
vb
<DefaultValue(True)>
Public Property ContinuousPageNumbering As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to renumber pages; otherwise, false.

|

Remarks

When a report is created, its pages are accessible via the PrintingSystemBase.Pages property, and you can change their order. To maintain continuous page numbering, the ContinuousPageNumbering property should be set to true.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ContinuousPageNumbering 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.

reporting-winforms-salary-reports/CS/SalaryReports/Reports/ManagementReport.cs#L39

csharp
this.PrintingSystem.ContinuousPageNumbering = true;
this.Pages.Insert(0, titleReport.Pages[0]);

reporting-winforms-salary-reports/VB/SalaryReports/Reports/ManagementReport.vb#L34

vb
Me.PrintingSystem.ContinuousPageNumbering = True
Me.Pages.Insert(0, titleReport.Pages(0))

See Also

PrintingSystemBase Class

PrintingSystemBase Members

DevExpress.XtraPrinting Namespace