Javascript: TXTextControl.sections Property
Description
Gets a collection of all sections in the document.
Syntax
<SectionCollection> TXTextControl.sectionsExamples
The following example demonstrates TXTextControl.sections in a practical document-editing workflow. It gets a collection of all sections in the document.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
tXTextControl.sections.getCount(function(count) {
console.log("sections count:", count);
}, onTxError);Limitations
Read Only.