IdxRichEditShapeCollection.InsertTextBox(IdxRichEditDocumentPosition) Method
In This Article
Inserts a floating text box at the specified position within the document.
#Declaration
Delphi
function InsertTextBox(const APos: IdxRichEditDocumentPosition): IdxRichEditShape;
#Parameters
Name | Type |
---|---|
APos | Idx |
#Returns
Type |
---|
Idx |
#Remarks
Call this function to:
Insert an empty floating text box anchored at the beginning of the page that includes the document position passed as the APos parameter;
Obtain the floating shape that hosts the created text box.
Refer to the How to Insert a Floating Text Box topic for additional information.
Note
Invoking the text box’s Shapes.Insert
See Also