Sets the horizontal text alignment.
<void> ParagraphFormat.setAlignment(<HorizontalAlignment> alignment, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| alignment | The horizontal text alignment. |
| callback | Optional. Is called when the operation completed. |
| error |
Optional. Is called when the operation failed with an error. |