Sets the formatting style of the selected text.
Introduced: X16.
<void> Selection.setFormattingStyle(<string> formattingStyle, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
formatting |
The formatting style of the selected text. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |