TX Text Control .NET Server

RequestTextTypeCallback Function

Function

Description

Callback function for requests expecting a text type.

Syntax

function(<TextType> textType)

Examples

The following example demonstrates RequestTextTypeCallback in a practical document-editing workflow. Callback function for requests expecting a text type.

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

function requestTextTypeCallback(textType) {
    console.log("text type:", textType);
}

TXTextControl.listFormat.getType(requestTextTypeCallback, onTxError);