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.

Syntax

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

The text frame's size in twips.

textPosition

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.