Gets the mode how Text Control displays a document.

Introduced: X18.

<void> TXTextControl.getViewMode(<RequestViewModeCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the mode how Text Control displays a document.
errorCallback Optional. Is called when the operation failed with an error.