Gets the baseline alignment, in twips, of the selected text. Takes a callback function as a parameter which is called with the baseline alignment, in twips, of the selected text. Positive values moves the baseline to superscript, negative values move the baseline to subscript.

Introduced: X16.

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

Parameters

Parameter Description
callback Receives the baseline alignment, in twips, of the selected text.
errorCallback Optional. Is called when the operation failed with an error.