.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SectionPageNumbering.FirstPageNumber Property

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

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v21.1.Core.dll

Declaration

int FirstPageNumber { get; set; }

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();
See Also