TX Text Control .NET Server

RequestTabTypesCallback Function

Function

Description

Callback function for requests expecting a Section object.

Syntax

function(<Section> section)

Examples

The following example demonstrates RequestTabTypesCallback in a practical document-editing workflow. Callback function for requests expecting a Section object.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function requestTabTypesCallback(section) {
    console.log("section:", section);
}

TXTextControl.paragraphFormat.getTabTypes(requestTabTypesCallback, onTxError);