TX Text Control .NET Server

RequestPermanentControlCharsCallback Function

Function

Description

Callback function for requests expecting a PermanentControlChar value.

Syntax

function(<PermanentControlChar> controlChars)

Examples

The following example demonstrates RequestPermanentControlCharsCallback in a practical document-editing workflow. Callback function for requests expecting a PermanentControlChar value.

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

function requestPermanentControlCharsCallback(controlChars) {
    console.log("control chars:", controlChars);
}

TXTextControl.getPermanentControlChars(requestPermanentControlCharsCallback, onTxError);