A newer version of this page is available. Switch to the current version.

ShapeCollection.InsertTextBox(DocumentPosition) Method

Inserts a floating text box.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

Shape InsertTextBox(
    DocumentPosition pos
)

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition object that is the position in a paragraph to which a floating object will be anchored.

Returns

Type Description
Shape

A Shape interface exposing properties and methods of the newly created floating text box.

Remarks

The InsertTextBox method positions a floating text box at the beginning of the first paragraph on the page that contains the floating object’s anchor.

See Also