ImageFormat

ImageFormat

System.Drawing.Imaging (system.drawing.dll) sealed class

This class represents the native format of a System.Drawing.Image object. It encapsulates a Guid uniquely identifying the format. There are a set of static properties that return a format object for the well-known image format types (e.g., Bmp , Jpeg , and MemoryBmp ).

You can get the internal format of an image by using the RawFormat property.

 public sealed class  ImageFormat  {  // Public Constructors  public  ImageFormat  (Guid  guid  );  // Public Static Properties  public static ImageFormat  Bmp  {get; }    public static ImageFormat  Emf  {get; }    public static ImageFormat  Exif  {get; }    public static ImageFormat  Gif  {get; }    public static ImageFormat  Icon  {get; }    public static ImageFormat  Jpeg  {get; }    public static ImageFormat  MemoryBmp  {get; }    public static ImageFormat  Png  {get; }    public static ImageFormat  Tiff  {get; }    public static ImageFormat  Wmf  {get; }  // Public Instance Properties  public Guid  Guid  {get; }  // Public Instance Methods  public override bool  Equals  (object  o  );  // overrides object  public override int  GetHashCode  ();  // overrides object  public override string  ToString  ();  // overrides object  } 

Returned By

System.Drawing.Image.RawFormat

Passed To

System.Drawing.Image.Save()



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net