​
​
​

Sets the bold attribute of the selected text.

​ Introduced: X16.

​<void> Selection.setBold(<boolean> bold, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
bold The bold attribute of the selected text.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.
​