MonobjcMonobjc Documented Class Library
CharacterIndexForInsertionAtPoint Method (point)
NamespacesMonobjc.AppKitNSTextViewCharacterIndexForInsertionAtPoint(NSPoint)

Returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point.

Original signature is '- (NSUInteger)characterIndexForInsertionAtPoint:(NSPoint)point'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSUInteger CharacterIndexForInsertionAtPoint(
	NSPoint point
)
Public Overridable Function CharacterIndexForInsertionAtPoint ( _
	point As NSPoint _
) As NSUInteger
public:
virtual NSUInteger CharacterIndexForInsertionAtPoint(
	NSPoint point
)
Parameters
point (NSPoint)
The point for which to return an index, in view coordinates.
Return Value
The character index for the insertion point.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)