MonobjcMonobjc Documented Class Library
ConvertPointToView Method (aPoint, aView)
NamespacesMonobjc.AppKitNSViewConvertPointToView(NSPoint, NSView)

Converts a point from the receiver’s coordinate system to that of a given view.

Original signature is '- (NSPoint)convertPoint:(NSPoint)aPoint toView:(NSView *)aView'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSPoint ConvertPointToView(
	NSPoint aPoint,
	NSView aView
Public Overridable Function ConvertPointToView ( _
	aPoint As NSPoint, _
	aView As NSView _
) As NSPoint
virtual NSPoint ConvertPointToView(
	NSPoint aPoint, 
	NSView^ aView
aPoint (NSPoint)
A point specifying a location in the coordinate system of the receiver.
aView (NSView)
The view into whose coordinate system aPoint is to be converted. If aView is nil, this method instead converts to window base coordinates. Otherwise, both aView and the receiver must belong to the same NSWindow object.
Return Value
The point converted to the coordinate system of aView.
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)