Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Section.StartType Property

Gets or sets the type of a section break.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

SectionStartType StartType { get; set; }

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