Sets the paragraph's formatting style. The specified style must be the name of a style contained in the ParagraphStyles collection of a Text Control document.

<void> Paragraph.setFormattingStyle(<string> formattingStyle, <EmptyRequestCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
formattingStyle The paragraph formatting style.
callback Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.