The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

SubDocument.InsertTextBox(DocumentPosition) Method

Obsolete. 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
)
<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