Section.StartType Property
Gets or sets the type of a section break.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v22.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
Type | Description |
---|---|
SectionStartType | A SectionStartType enumeration value specifying where the next section starts. |
Remarks
The code sample below shows how to insert continuous section break after the specific paragraph:
Document document = wordProcessor.Document;
document.LoadDocument("Documents\\Grimm.docx");
document.InsertSection(document.Paragraphs[4].Range.End);
Section insertedSection = document.GetSection(targetPosition);
insertedSection.StartType = SectionStartType.Continuous;
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StartType 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.