Skip to main content
All docs
V21.2

SnapDocument.InsertSection(DocumentPosition) Method

Inserts a new section into the document’s Document.Sections collection at a specified position.

Namespace: DevExpress.Snap.Core.API

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

NuGet Package: DevExpress.Snap.Core

Declaration

SnapSection InsertSection(
    DocumentPosition pos
)

Parameters

Name Type Description
pos DocumentPosition

A SnapSection object, specifying a position to insert a new section.

Returns

Type Description
SnapSection

A Section object that is the section in the document located before the newly inserted section.

See Also