Removes all subtextparts from a Text Control document.

<void> SubTextPartCollection.clear([<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

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