TX Text Control .NET Server

Javascript: TXTextControl.paragraphStyles Property

Property|Introduced in 28.0

Description

All paragraph formatting styles in the current document.

Syntax

<ParagraphStyleCollection> TXTextControl.paragraphStyles

Examples

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.