Sets the font's name of the selected text.
Introduced: X16.
<void> Selection.setFontName(<string> fontName, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| font |
The font's name of the selected text. |
| callback | Optional. Is called when the operation completed. |
| error |
Optional. Is called when the operation failed with an error. |