Javascript: TXTextControl.paragraphStyles Property
Description
All paragraph formatting styles in the current document.
Syntax
<ParagraphStyleCollection> TXTextControl.paragraphStylesExamples
The following example demonstrates TXTextControl.paragraphStyles in a practical document-editing workflow. All paragraph formatting styles in the current document.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
tXTextControl.paragraphStyles.getCount(function(count) {
console.log("paragraph styles count:", count);
}, onTxError);Limitations
Read Only.