Gets the font's size, in points, of the selected text.

Introduced: X16.

<void> Selection.getFontSize(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])


Parameter Description
callback Receives the the fontsize attribute of the selected text. The property's default value is 10 points, which equals 200 twips. The property returns its default value when the text selection contains multiple characters with mixed font sizes.
errorCallback Optional. Is called when the operation failed with an error.