Javascript: ListFormat.getBulletCharacter Method
Description
Gets the symbol character for a bulleted list.
Syntax
<void> ListFormat.getBulletCharacter(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])Parameters
| Parameter | Description |
|---|---|
| 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
);