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