MonobjcMonobjc Documented Class Library
ImageRepClassForFileType Method (type)
NamespacesMonobjc.AppKitNSImageRepImageRepClassForFileType(NSString)

Returns the NSImageRep subclass that handles data with the specified type.

Original signature is '+ (Class)imageRepClassForFileType:(NSString *)type'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Class ImageRepClassForFileType(
	NSString type
)
Public Shared Function ImageRepClassForFileType ( _
	type As NSString _
) As Class
public:
static Class^ ImageRepClassForFileType(
	NSString^ type
)
Parameters
type (NSString)
A string containing the filename extension or an encoded HFS type.
Return Value
A Class object for the image representation that can handle the type of data, or nil if no image representation could handle the type.
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)