MonobjcMonobjc Documented Class Library
ImageRepWithContentsOfURL Method (aURL)
NamespacesMonobjc.AppKitNSCachedImageRepImageRepWithContentsOfURL(NSURL)

Creates and returns an image representation object using the data at the specified URL

Original signature is '+ (id)imageRepWithContentsOfURL:(NSURL *)aURL'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSCachedImageRep ImageRepWithContentsOfURL(
	NSURL aURL
)
Public Shared Function ImageRepWithContentsOfURL ( _
	aURL As NSURL _
) As NSCachedImageRep
public:
static NSCachedImageRep^ ImageRepWithContentsOfURL(
	NSURL^ aURL
)
Parameters
aURL (NSURL)
The URL pointing to the image data.
Return Value
An initialized instance of an NSImageRep subclass, or nil if the image data could not be read.
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)