Gets a particular character from the collection specified through a certain geometrical position.

<void> TextCharCollection.getItem(<Point> location, <boolean> getNearest, <RequestTextCharCallback> callback, [<ErrorCallback> errorCallback])


Parameter Description
location Specifies the character's location. The point must be specified in pixels with an origin at the top left corner of the control.
getNearest Specifies whether the nearest character is returned. If this parameter is set to true, the nearest character is returned. Otherwise, if set to false, a character is only returned, if the specified location is inside the bounding rectangle of an existing character.
callback Receives the textchar at the certain geometrical position.
errorCallback Optional. Is called when the operation failed with an error.