
This method inserts a new text frame, which is then handled as a single character in the text.
Introduced: 12.0.
TXTextControl.TextFrameInsertAsChar TextPos, Width, Height
| Parameter | Description | |
| TextPos | Specifies a text position where the text frame should be inserted. If TextPos is -1, the text frame is inserted at the current input position. | |
| Width | Specifies the width of the text frame in twips. | |
| Height | Specifies the height of the text frame in twips. |
The method returns the text frame's identifier, if a new text frame could be inserted. Otherwise, it returns zero. The text frame's identifier can also be obtained with the ObjectCurrent property.
| TextPos: | Long |
| Width: | Integer |
| Height: | Integer |
| Return value: | Integer |