​
​
​

Sets the mode how Text Control displays a document.

​ Introduced: X18.

​<void> TXTextControl.setViewMode(<ViewMode> viewMode, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

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