Gets the writing direction.

<void> ParagraphFormat.getDirection(<RequestDirectionCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the writing direction.
errorCallback Optional. Is called when the operation failed with an error.