SubDocument.InsertTextBox(DocumentPosition) Method
Obsolete. Inserts a floating text box.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v14.2.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
)
<Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.ShapeCollection.InsertTextBox(DocumentPosition pos)' method instead.")>
Function InsertTextBox(
pos As DocumentPosition
) As Shape
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