MonobjcMonobjc Documented Class Library
ImageRepClassForType Method (type)
NamespacesMonobjc.AppKitNSImageRepImageRepClassForType(NSString)

Returns the NSImageRep subclass that handles image data for the specified UTI.

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Class ImageRepClassForType(
	NSString type
)
Public Shared Function ImageRepClassForType ( _
	type As NSString _
) As Class
public:
static Class^ ImageRepClassForType(
	NSString^ type
)
Parameters
type (NSString)
The UTI string identifying the desired image type. Some sample image-related UTI strings include "public.image”, "public.jpeg”, and "public.tiff”. For a list of supported types, see UTCoreTypes.h.
Return Value
A Class object for the image representation that can handle the UTI, or nil if no image representation could handle the data.
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)