TX Text Control .NET Server

RequestBooleanCallback Function

Function

Description

Callback function for requesting a boolean value.

Syntax

function(<Boolean> result)

Examples

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

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

function useRequestBooleanCallback(formattingStyle) {
    formattingStyle.getBold(requestBooleanCallback);
}