System::Drawing::Imaging::ImageFormat class

ImageFormat class

Represents the file format of an image. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ImageFormat : public System::Object

Methods

MethodDescription
Equals(ImageFormatPtr) constDetermines if the image formats represented by the current and specified objects are equal.
static get_Bmp()Returns a shared pointer to an ImageFormat object that represents the bitmap image format.
static get_Emf()Returns a shared pointer to an ImageFormat object that represents the enhanced metafile format.
static get_Exif()Returns a shared pointer to an ImageFormat object that represents the Exchangeable Image File (Exif) format.
static get_Gif()Returns a shared pointer to an ImageFormat object that represents the Graphics Interchange Format (GIF) image format.
get_Guid() constReturns the GUID associated with the image format represented by the current object.
static get_Icon()Returns a shared pointer to an ImageFormat object that represents the Windows icon image format.
static get_Jpeg()Returns a shared pointer to an ImageFormat object that represents the Joint Photographic Experts Group (JPEG) image format.
static get_MemoryBmp()Returns a shared pointer to an ImageFormat object that represents the format of a bitmap in memory.
static get_Png()Returns a shared pointer to an ImageFormat object that represents the W3C Portable Network Graphics (PNG) image format.
static get_Tiff()Returns a shared pointer to an ImageFormat object that represents the Tagged Image File Format (TIFF) image format.
static get_Wmf()Returns a shared pointer to an ImageFormat object that represents the Windows metafile (WMF) image format.
ImageFormat(const System::Guid&)Constructs an instance of ImageFormat class that represents an image format format associated with the specified GUID.
virtual ToString() constConverts this ImageFormat object to a human-readable string.

See Also