MonobjcMonobjc Documented Class Library
OpenFileFromImageAtInView Method (fullPath, anImage, point, aView)
NamespacesMonobjc.AppKitNSWorkspaceOpenFileFromImageAtInView(NSString, NSImage, NSPoint, NSView)

Opens a file using the default application for its type and animates the action using a custom icon.

Original signature is '- (BOOL)openFile:(NSString *)fullPath fromImage:(NSImage *)anImage at:(NSPoint)point inView:(NSView *)aView'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool OpenFileFromImageAtInView(
	NSString fullPath,
	NSImage anImage,
	NSPoint point,
	NSView aView
)
Public Overridable Function OpenFileFromImageAtInView ( _
	fullPath As NSString, _
	anImage As NSImage, _
	point As NSPoint, _
	aView As NSView _
) As Boolean
public:
virtual bool OpenFileFromImageAtInView(
	NSString^ fullPath, 
	NSImage^ anImage, 
	NSPoint point, 
	NSView^ aView
)
Parameters
fullPath (NSString)
The full path to the file.
anImage (NSImage)
The icon for the file.
point (NSPoint)
The point in aView at which to display the icon.
aView (NSView)
The view in which to display the icon.
Return Value
YES if the file was successfully opened; otherwise, NO.
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)