Sets the writing direction.
<void> ParagraphFormat.setDirection(<Direction> direction, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| direction | The writing direction. |
| callback | Optional. Is called when the operation completed. |
| error |
Optional. Is called when the operation failed with an error. |