Skip to main content

IdxRichEditDocument.InsertSection(IdxRichEditDocumentPosition) Method

Inserts a new section into the document at the specified position.

Declaration

function InsertSection(const APos: IdxRichEditDocumentPosition): IdxRichEditSection;

Parameters

Name Type
APos IdxRichEditDocumentPosition

Returns

Type
IdxRichEditSection

Remarks

Call this function to insert the section whose position within the document is passed as the APos parameter. The InsertSection function returns a newly created section and adds it to the document’s Sections collection.

See Also