Gets the formatting style of the selected text.
Introduced: X16.
<void> Selection.getFormattingStyle(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
callback | Receives the formatting style of the selected text or an empty string when the text selection contains multiple characters with different styles. |
error |
Optional. Is called when the operation failed with an error. |