TX Text Control .NET Server

RequestListFormatCharacterCallback Function

Function

Description

Callback function for requesting a ListFormatCharacter value.

Syntax

function(<ListFormatCharacter> result)

Examples

The following example demonstrates RequestListFormatCharacterCallback in a practical document-editing workflow. Callback function for requesting a ListFormatCharacter value.

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

function requestListFormatCharacterCallback(result) {
    console.log("result:", result);
}

TXTextControl.listFormat.getFormatCharacter(requestListFormatCharacterCallback, onTxError);