TX Text Control .NET Server

Javascript: TXTextControl.images Property

Property|Introduced in 25.0

Description

Gets a collection of all images contained in the text part with the input focus. This can be the main text, a text frame or a header or footer.

Syntax

<ImageCollection> TXTextControl.images

Examples

The following example demonstrates TXTextControl.images in a practical document-editing workflow. It gets a collection of all images contained in the text part with the input focus. This can be the main text, a text frame or a header or footer.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

tXTextControl.images.getCount(function(count) {
    console.log("images count:", count);
}, onTxError);

Limitations

Read Only.