Gets the number of selected characters.

<void> Selection.getLength(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the number of selected characters.
errorCallback Optional. Is called when the operation failed with an error.