Javascript: FormattingStyle.getForeColor Method
Description
Gets the style's color used to display the text.
Syntax
<void> FormattingStyle.getForeColor(<RequestStringCallback> callback)Parameters
| Parameter | Description |
|---|---|
| callback | Receives the style's color used to display the text. |
Examples
The following example demonstrates FormattingStyle.getForeColor in a practical document-editing workflow. It gets the style's color used to display the text.
function inspectForeColor(formattingStyle) {
formattingStyle.getForeColor(
function(result) {
console.log("get fore color result:", result);
}
);
}