Javascript: ListFormat.getBulletSize Method
Description
Gets the size of the symbol character for a bulleted list.
Syntax
<void> ListFormat.getBulletSize(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])Parameters
| Parameter | Description |
|---|---|
| callback | Receives the size of the symbol character for a bulleted list. |
| errorCallback | Optional. Is called when the operation failed with an error. |
Examples
The following example demonstrates ListFormat.getBulletSize in a practical document-editing workflow. It gets the size of the symbol character for a bulleted list.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.listFormat.getBulletSize(
function(result) {
console.log("get bullet size result:", result);
},
onTxError
);