Back to Devexpress

SectionPageNumbering.ContinueNumbering Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-sectionpagenumbering.md

latest2.3 KB
Original Source

SectionPageNumbering.ContinueNumbering Property

Gets or sets whether the numbering should be continued from the previous section or should start from the beginning.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
bool ContinueNumbering { get; set; }
vb
Property ContinueNumbering As Boolean

Property Value

TypeDescription
Boolean

True , to continue numbering; otherwise, false.

|

Remarks

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

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

csharp
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();
vb
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

SectionPageNumbering Interface

SectionPageNumbering Members

DevExpress.XtraRichEdit.API.Native Namespace