.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Document.AppendSection() Method

Appends a new empty section and returns the section to which this section is appended.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

Section AppendSection()
Function AppendSection As Section

Returns

Type Description
Section

A Section object that is the section in the document to which a new section is appended.

Remarks

To get a newly appended section, use the following code:

wordProcessor.Document.AppendSection();
DevExpress.XtraRichEdit.API.Native.Section sApp = wordProcessor.Document.Sections[richEditControl.Document.Sections.Count - 1];
See Also