Javascript: FormattingStyle.getBaseline Method
Description
Gets the baseline alignment, in twips, of the style.
Syntax
<void> FormattingStyle.getBaseline(<RequestNumberCallback> callback)Parameters
| Parameter | Description |
|---|---|
| callback | Receives the baseline alignment, in twips |
Examples
The following example demonstrates FormattingStyle.getBaseline in a practical document-editing workflow. It gets the baseline alignment, in twips, of the style.
function inspectBaseline(formattingStyle) {
formattingStyle.getBaseline(
function(result) {
console.log("get baseline result:", result);
}
);
}