Returns the index of the character whose frame rectangle includes the given point. (required)
Original signature is '- (NSUInteger)characterIndexForPoint:(NSPoint)thePoint'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual NSUInteger CharacterIndexForPoint( NSPoint thePoint )
Public Overridable Function CharacterIndexForPoint ( _ thePoint As NSPoint _ ) As NSUInteger
public: virtual NSUInteger CharacterIndexForPoint( NSPoint thePoint )

- thePoint (NSPoint)
- A point, in screen coordinates.

The character index, measured from the start of the receiver’s text storage, of the character containing the given point. Returns NSNotFound if the cursor is not within a character.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)