Javascript: FormattedText.editableRegions Property
Description
Gets a collection of all editable regions.
Syntax
<EditableRegionCollection> FormattedText.editableRegionsExamples
The following example demonstrates FormattedText.editableRegions in a practical document-editing workflow. It gets a collection of all editable regions.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.textParts.getMainText(function(formattedText) {
formattedText.editableRegions.getCount(function(count) {
console.log("editable regions count:", count);
}, onTxError);
}, onTxError);Limitations
Read Only.