MonobjcMonobjc Documented Class Library
GetRowColumnForPoint Method (row, column, aPoint)
NamespacesMonobjc.AppKitNSMatrixGetRowColumnForPoint(NSInteger%, NSInteger%, NSPoint)

Indicates whether the specified point lies within one of the cells of the matrix and returns the location of the cell within which the point lies.

Original signature is '- (BOOL)getRow:(NSInteger *)row column:(NSInteger *)column forPoint:(NSPoint)aPoint'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool GetRowColumnForPoint(
	out NSInteger row,
	out NSInteger column,
	NSPoint aPoint
)
Public Overridable Function GetRowColumnForPoint ( _
	<OutAttribute> ByRef row As NSInteger, _
	<OutAttribute> ByRef column As NSInteger, _
	aPoint As NSPoint _
) As Boolean
public:
virtual bool GetRowColumnForPoint(
	[OutAttribute] NSInteger% row, 
	[OutAttribute] NSInteger% column, 
	NSPoint aPoint
)
Parameters
row (NSInteger%)
On return, the row of the cell containing the specified point.
column (NSInteger%)
On return, the column of the cell containing the specified point.
aPoint (NSPoint)
The point to locate; this point should be in the coordinate system of the receiver.
Return Value
YES if the point lies within one of the cells in the receiver; NO if the point falls outside the bounds of the receiver or lies within an intercell spacing.
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)