Skip to main content
.NET Framework 4.5.2+

SectionPageNumbering.FirstPageNumber Property

Gets or sets an initial number from which the numbering starts.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


int FirstPageNumber { get; set; }

Property Value

Type Description

An Int value that is the first page number.


Reset the numbering options by setting the ContinueNumbering property to false before you apply new options.

The code sample below specifies the initial number and the NumberingFormat.CardinalText numbering format.

wordProcessor1.Document.Sections[0].PageNumbering.ContinueNumbering = false;
wordProcessor1.Document.Sections[0].PageNumbering.FirstPageNumber = 3;
wordProcessor1.Document.Sections[0].PageNumbering.NumberingFormat = NumberingFormat.CardinalText;

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


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