Sets a value determining the ruler bar's read only mode. When the ruler bar is set to read only, it still shows all formatting attributes of the connected TextControl, but formatting attributes cannot be changed.

<void> RulerBarViewGenerator.setReadOnly(<boolean> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value The property value.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.