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