Javascript: FormattedText.textFields Property
Description
Gets a collection of all standard text fields.
Syntax
<TextFieldCollection> FormattedText.textFieldsExamples
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.