SectionPageNumbering.FirstPageNumber Property
Gets or sets an initial number from which the numbering starts.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | An Int value that is the first page number. |
#Remarks
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;
wordProcessor1.Document.Fields.Update();
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the FirstPageNumber 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.