Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditDocument.InsertSection(IdxRichEditDocumentPosition) Method

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

#Declaration

Delphi
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