Skip to main content

IdxRichEditShape.GetTextBox Method

Provides access to the content and settings of a floating text box.

Declaration

function GetTextBox: IdxRichEditTextBox;

Returns

Type
IdxRichEditTextBox

Remarks

You can use the GetTextBox.Document property to access the subdocument within the floating text box. The GetTextBox function returns nil if the floating shape is a picture.

The type of a floating shape depends on whether the Shapes.InsertTextBox or Shapes.InsertPicture function of the parent document is called to create the shape.

The GetTextBox function is the TextBox property’s getter.

See Also