TXTextControl.ImageCollection.addInline method

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

Syntax

[JavaScript]
<void> ImageCollection.addInline(<string> imageData, <integer> textPosition);
Parameter Description
imageData

Base64 encoded image data.

textPosition

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