Sets the mode how Text Control displays a document.
Introduced: X18.
<void> TXTextControl.setViewMode(<ViewMode> viewMode, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])| Parameter | Description |
|---|---|
| view |
The mode how Text Control displays a document. |
| callback | Optional. Is called when the operation completed. |
| error |
Optional. Is called when the operation failed with an error. |