Sets values specifying automatic sub- or superscripted text. When using automatic sub- and superscript the font is scaled and moved above or below the baseline with values defined through the font itself. Automatic sub- and superscript can be combined with a user-defined baseline which can be set with the Baseline property.
Introduced: 30.0.
<void> Selection.setAutoBaseline(<AutoBaseline> autoBaseline, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
auto |
The auto baseline of the selected text. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |