TX Text Control .NET Server

Javascript: FormattedText.textFields Property

Property|Introduced in 28.0

Description

Gets a collection of all standard text fields.

Syntax

<TextFieldCollection> FormattedText.textFields

Examples

The following example demonstrates FormattedText.textFields in a practical document-editing workflow. It gets a collection of all standard text fields.

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

TXTextControl.textParts.getMainText(function(formattedText) {
    formattedText.textFields.getCount(function(count) {
        console.log("text fields count:", count);
    }, onTxError);
}, onTxError);

Limitations

Read Only.