TX Text Control .NET Server

Javascript: ListFormat.getBulletCharacter Method

Method|Introduced in 28.0

Description

Gets the symbol character for a bulleted list.

Syntax

<void> ListFormat.getBulletCharacter(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
callback

Receives the symbol character for a bulleted list.

errorCallback

Optional. Is called when the operation failed with an error.

Examples

The following example demonstrates ListFormat.getBulletCharacter in a practical document-editing workflow. It gets the symbol character for a bulleted list.

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

TXTextControl.listFormat.getBulletCharacter(
    function(result) {
        console.log("get bullet character result:", result);
    },
    onTxError
);