System::Drawing::Imaging::ImageCodecInfo class

ImageCodecInfo class

Provides information about an image codec. 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 ImageCodecInfo : public System::Object

Methods

MethodDescription
get_FormatID() constReturns a GUID associated with the format of the codec represented by the current object.
get_MimeType()Returns the Multipurpose Internet Mail Extensions (MIME) type of the codec represented by the current object.
static GetImageDecoders()Returns an array of ImageCodecInfo objects that represent supported image decoders.
static GetImageEncoders()Returns an array of ImageCodecInfo objects that represent supported image encoders.
set_FormatID(const Guid&)Sets a GUID associated with the format of the codec represented by the current object.

See Also