.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SectionColumns Interface

Represents an interface for creating, applying and retrieving a column layout of a section in a document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

[ComVisible(true)]
public interface SectionColumns
<ComVisible(True)>
Public Interface SectionColumns
[ComVisible(true)]
public interface SectionColumns
<ComVisible(True)>
Public Interface SectionColumns
[ComVisible(true)]
public interface SectionColumns
<ComVisible(True)>
Public Interface SectionColumns

Remarks

Use the Section.Columns property to access the SectionColumns interface.

Examples

Document document = server.Document;
document.LoadDocument("Documents\\Grimm.docx", DevExpress.XtraRichEdit.DocumentFormat.OpenXml);
document.Unit = DevExpress.Office.DocumentUnit.Inch;
// Get the first section in a document
Section firstSection = document.Sections[0];
// Create columns and apply them to the document
SectionColumnCollection sectionColumnsLayout =
    firstSection.Columns.CreateUniformColumns(firstSection.Page, 0.2f, 3);
firstSection.Columns.SetColumns(sectionColumnsLayout);
See Also