Adds a new style to the current document.
<void> InlineStyleCollection.add(<String> styleName, [<RequestInlineStyleCallback> callback], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| style |
Specifies the style's name. |
| callback | Optional. Receives the added style if the style is succesfully added. Otherwise null. |
| error |
Optional. Is called when the operation failed with an error. |