MonobjcMonobjc Documented Class Library
ImageRepsWithContentsOfFile Method (filename)
NamespacesMonobjc.AppKitNSImageRepImageRepsWithContentsOfFile(NSString)

Creates and returns an array of image representation objects initialized using the contents of the specified file.

Original signature is '+ (NSArray *)imageRepsWithContentsOfFile:(NSString *)filename'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSArray ImageRepsWithContentsOfFile(
	NSString filename
)
Public Shared Function ImageRepsWithContentsOfFile ( _
	filename As NSString _
) As NSArray
public:
static NSArray^ ImageRepsWithContentsOfFile(
	NSString^ filename
)
Parameters
filename (NSString)
A full or relative pathname specifying the file to open. This string should include the filename extension.
Return Value
An array of image representation objects. The array contains one object for each image in the specified file.
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)