Sets a value indicating whether the document's text is protected, or can be freely edited and formatted.

Introduced: X18.

<void> TXTextControl.setEditMode(<EditMode> editMode, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
editMode Specifies whether the document's text is protected, or can be freely edited and formatted.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.