.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Section Interface

An interface that defines a section within a document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

[ComVisible(true)]
public interface Section

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;

The following code snippets (auto-collected from DevExpress Examples) contain references to the Section interface.

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.

See Also