IdxRichEditDocument.InsertSection(IdxRichEditDocumentPosition) Method
In This Article
Inserts a new section into the document at the specified position.
#Declaration
Delphi
function InsertSection(const APos: IdxRichEditDocumentPosition): IdxRichEditSection;
#Parameters
Name | Type |
---|---|
APos | Idx |
#Returns
Type |
---|
Idx |
#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