MonobjcMonobjc Documented Class Library
RepresentationOfImageRepsInArrayUsingTypeProperties Method (imageReps, storageType, properties)
NamespacesMonobjc.AppKitNSBitmapImageRepRepresentationOfImageRepsInArrayUsingTypeProperties(NSArray, NSBitmapImageFileType, NSDictionary)

Formats the specified bitmap images using the specified storage type and properties and returns them in a data object.

Original signature is '+ (NSData *)representationOfImageRepsInArray:(NSArray *)imageReps usingType:(NSBitmapImageFileType)storageType properties:(NSDictionary *)properties'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSData RepresentationOfImageRepsInArrayUsingTypeProperties(
	NSArray imageReps,
	NSBitmapImageFileType storageType,
	NSDictionary properties
)
Public Shared Function RepresentationOfImageRepsInArrayUsingTypeProperties ( _
	imageReps As NSArray, _
	storageType As NSBitmapImageFileType, _
	properties As NSDictionary _
) As NSData
public:
static NSData^ RepresentationOfImageRepsInArrayUsingTypeProperties(
	NSArray^ imageReps, 
	NSBitmapImageFileType storageType, 
	NSDictionary^ properties
)
Parameters
imageReps (NSArray)
An array of NSBitmapImageRep objects.
storageType (NSBitmapImageFileType)
An enum constant specifying a file type for bitmap images. It can be NSBMPFileType, NSGIFFileType, NSJPEGFileType, NSPNGFileType, or NSTIFFFileType.
properties (NSDictionary)
A dictionary that contains key-value pairs specifying image properties. These string constants used as keys and the valid values are described in “Bitmap image properties.”
Return Value
A data object containing the bitmap image data in the specified format. You can write this data to a file or use it to create a new NSBitmapImageRep object.
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)