Class ImageFormat

ImageFormat class

Specifies the file format of the image. Not inheritable.

public sealed class ImageFormat

Constructors

NameDescription
ImageFormat(Guid)Initializes a new instance of the ImageFormat class by using the specified Guid structure.

Properties

NameDescription
static Bmp { get; }Gets the bitmap (BMP) image format.
static Emf { get; }Gets the enhanced metafile (EMF) image format.
static Exif { get; }Gets the Exchangeable Image File (EXIF) format.
static Gif { get; }Gets the Graphics Interchange Format (GIF) image format.
static Icon { get; }Gets the Windows icon image format.
static Jpeg { get; }Gets the Joint Photographic Experts Group (JPEG) image format.
static MemoryBmp { get; }Gets a memory bitmap image format.
static Png { get; }Gets the W3C Portable Network Graphics (PNG) image format.
static Tiff { get; }Gets the Tagged Image File Format (TIFF) image format.
static Wmf { get; }Gets the Windows metafile (WMF) image format.
Guid { get; }Gets a Guid structure that represents this ImageFormat object.

Methods

NameDescription
override Equals(object)Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.
override GetHashCode()Returns a hash code value that represents this object.
override ToString()Converts this ImageFormat object to a human-readable string.

See Also