Javascript: TXTextControl.TextFrameCollection.addInline method

Inserts a text frame inline, which means that it is treated in the text like a single character. The text frame is inserted at the specified text input position.


<void> TextFrameCollection.addInline(<Size> size, <integer> textPosition);
Parameter Description

The text frame's size in twips.


Specifies the text position at which the text frame is to be inserted. If -1 is specified, the text frame is inserted at the current input position.

See Also