Section Interface
An interface that defines a section within a document.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v23.2.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Related API Members
The following members return Section objects:
Remarks
All document sections are represented by the SectionCollection, which is accessible by the Document.Sections property.
The code sample below shows how to insert continuous section break after the specific paragraph:
Document document = server.Document;
document.LoadDocument("Documents\\Grimm.docx");
document.InsertSection(document.Paragraphs[4].Range.End);
Section insertedSection = document.Sections[document.Sections.Count-1];
insertedSection.StartType = SectionStartType.Continuous;
See Also