SubDocument.InsertTextBox(DocumentPosition) Method
OBSOLETE
This method has become obsolete. Use the 'InsertTextBox' method instead.
Inserts a floating text box.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v19.1.Core.dll
Declaration
[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ShapeCollection.InsertTextBox(DocumentPosition pos)' method instead.")]
Shape InsertTextBox(
DocumentPosition pos
)
Parameters
Name | Type | Description |
---|---|---|
pos | DocumentPosition | A DocumentPosition that is a position in a paragraph to which a floating object will be anchored. |
Returns
Type | Description |
---|---|
Shape | A Shape interface exposing properties and methods of a newly created floating text box. |
Remarks
The InsertTextBox method inserts a floating text box anchored at the beginning of the first paragraph that contains the specified position.
See Also