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

<void> ParagraphStyleCollection.getItem(<String> styleName, <RequestParagraphStyleCallback> callback, [<ErrorCallback> errorCallback])

Parameters

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