Gets a style from the collection by the style's name.

<void> InlineStyleCollection.getItem(<String> styleName, [<RequestInlineStyleCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
styleName Specifies the style's name.
callback Optional. Receives the style if available. Otherwise null.
errorCallback Optional. Is called when the operation failed with an error.