13 instantiations of ImageFormat
System.Drawing (13)
commonui\System\Drawing\Advanced\ImageFormat.cs (12)
25private static ImageFormat memoryBMP = new ImageFormat(new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}")); 26private static ImageFormat bmp = new ImageFormat(new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}")); 27private static ImageFormat emf = new ImageFormat(new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}")); 28private static ImageFormat wmf = new ImageFormat(new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}")); 29private static ImageFormat jpeg = new ImageFormat(new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}")); 30private static ImageFormat png = new ImageFormat(new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}")); 31private static ImageFormat gif = new ImageFormat(new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}")); 32private static ImageFormat tiff = new ImageFormat(new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}")); 33private static ImageFormat exif = new ImageFormat(new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}")); 34private static ImageFormat photoCD = new ImageFormat(new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}")); 35private static ImageFormat flashPIX = new ImageFormat(new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}")); 36private static ImageFormat icon = new ImageFormat(new Guid("{b96b3cb5-0728-11d3-9d7b-0000f81ef32e}"));
commonui\System\Drawing\Image.cs (1)
937return new ImageFormat(guid);
88 references to ImageFormat
System.Drawing (50)
commonui\System\Drawing\Advanced\ImageFormat.cs (29)
25private static ImageFormat memoryBMP = new ImageFormat(new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}")); 26private static ImageFormat bmp = new ImageFormat(new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}")); 27private static ImageFormat emf = new ImageFormat(new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}")); 28private static ImageFormat wmf = new ImageFormat(new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}")); 29private static ImageFormat jpeg = new ImageFormat(new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}")); 30private static ImageFormat png = new ImageFormat(new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}")); 31private static ImageFormat gif = new ImageFormat(new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}")); 32private static ImageFormat tiff = new ImageFormat(new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}")); 33private static ImageFormat exif = new ImageFormat(new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}")); 34private static ImageFormat photoCD = new ImageFormat(new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}")); 35private static ImageFormat flashPIX = new ImageFormat(new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}")); 36private static ImageFormat icon = new ImageFormat(new Guid("{b96b3cb5-0728-11d3-9d7b-0000f81ef32e}")); 43/// Initializes a new instance of the <see cref='System.Drawing.Imaging.ImageFormat'/> class with the specified GUID. 52/// that represents this <see cref='System.Drawing.Imaging.ImageFormat'/>. 62public static ImageFormat MemoryBmp { 70public static ImageFormat Bmp { 79public static ImageFormat Emf { 88public static ImageFormat Wmf { 96public static ImageFormat Gif { 104public static ImageFormat Jpeg { 114public static ImageFormat Png { 123public static ImageFormat Tiff { 132public static ImageFormat Exif { 142public static ImageFormat Icon { 149/// specified object is an <see cref='System.Drawing.Imaging.ImageFormat'/> equivalent to this <see cref='System.Drawing.Imaging.ImageFormat'/>. 152ImageFormat format = o as ImageFormat; 182/// Converts this <see cref='System.Drawing.Imaging.ImageFormat'/> to a human-readable string.
commonui\System\Drawing\Advanced\ImageFormatConverter.cs (2)
98if (value is ImageFormat) { 127return typeof(ImageFormat).GetProperties(BindingFlags.Static | BindingFlags.Public);
commonui\System\Drawing\Bitmap.cs (1)
573if (RawFormat.Guid == ImageFormat.Icon.Guid) {
commonui\System\Drawing\Graphics.cs (1)
4642if (image.RawFormat.Equals(ImageFormat.Emf)) {
commonui\System\Drawing\Image.cs (9)
404if (image.RawFormat.Equals(ImageFormat.Gif)) { 575public void Save(string filename, ImageFormat format) { 582codec = ImageFormat.Png.FindEncoder(); 648ImageFormat dest = RawFormat; 649if (dest == ImageFormat.Jpeg) { 650dest = ImageFormat.Png; 658codec = ImageFormat.Png.FindEncoder(); 670public void Save(Stream stream, ImageFormat format) { 927public ImageFormat RawFormat {
commonui\System\Drawing\ImageConverter.cs (1)
145if (image.RawFormat.Equals(ImageFormat.Icon)) {
commonui\System\Drawing\Printing\PrinterSettings.cs (7)
526public bool IsDirectPrintingSupported(ImageFormat imageFormat) { 528if (imageFormat.Equals(ImageFormat.Jpeg) || imageFormat.Equals(ImageFormat.Png)) { 529int nEscape = imageFormat.Equals(ImageFormat.Jpeg) ? SafeNativeMethods.CHECKJPEGFORMAT : SafeNativeMethods.CHECKPNGFORMAT; 560if (image.RawFormat.Equals(ImageFormat.Jpeg) || image.RawFormat.Equals(ImageFormat.Png)) { 571int nEscape = image.RawFormat.Equals(ImageFormat.Jpeg) ? SafeNativeMethods.CHECKJPEGFORMAT : SafeNativeMethods.CHECKPNGFORMAT;
System.Web.DataVisualization (11)
Common\Utilities\XmlSerializer.cs (1)
672 image.Save(imageStream, ImageFormat.Png);
WebForm\ChartWebControl.cs (10)
1139ImageFormat standardImageFormat = ImageFormat.Png; 1144standardImageFormat = ImageFormat.Bmp; 1148standardImageFormat = ImageFormat.Gif; 1152standardImageFormat = ImageFormat.Tiff; 1157standardImageFormat = ImageFormat.Jpeg; 1160standardImageFormat = ImageFormat.Png; 1165standardImageFormat = ImageFormat.Emf; 1236 ImageFormat format = (ImageFormat)new ImageFormatConverter().ConvertFromString(ImageType.ToString());
System.Web.Mobile (1)
UI\MobileControls\Design\Util\TemporaryBitmapFile.cs (1)
66_bitmap.Save(_path, ImageFormat.Bmp);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListView.cs (1)
4808this.BackgroundImage.Save(this.backgroundImageFileName, System.Drawing.Imaging.ImageFormat.Bmp);
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
1264if (bmp.RawFormat.Guid != ImageFormat.Icon.Guid && !ImageAnimator.CanAnimate(bmp)) { 1296if (currentImage.RawFormat.Guid != ImageFormat.Icon.Guid && !ImageAnimator.CanAnimate(currentImage)) {
System.Windows.Forms.DataVisualization (12)
Common\Utilities\XmlSerializer.cs (1)
672 image.Save(imageStream, ImageFormat.Png);
WinForm\ChartWinControl.cs (11)
794 public void SaveImage(string imageFileName, ImageFormat format) 822 public void SaveImage(Stream imageStream, ImageFormat format) 833 if(format == ImageFormat.Emf || format == ImageFormat.Wmf) 888 ImageFormat standardImageFormat = ImageFormat.Png; 893 standardImageFormat = ImageFormat.Bmp; 896 standardImageFormat = ImageFormat.Gif; 899 standardImageFormat = ImageFormat.Jpeg; 902 standardImageFormat = ImageFormat.Png; 905 standardImageFormat = ImageFormat.Tiff;
System.Workflow.ComponentModel (11)
AuthoringOM\Design\CommandSet.cs (9)
740supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.BMPImageFormat), ImageFormat.Bmp)); 741supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.JPEGImageFormat), ImageFormat.Jpeg)); 742supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.PNGImageFormat), ImageFormat.Png)); 743supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.TIFFImageFormat), ImageFormat.Tiff)); 744supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.WMFImageFormat), ImageFormat.Wmf)); 745supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.EXIFImageFormat), ImageFormat.Exif)); 746supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.EMFImageFormat), ImageFormat.Emf)); 976public ImageFormat Format; 978public SupportedImageFormats(string description, ImageFormat imageFormat)
AuthoringOM\Design\WorkflowView.cs (2)
964public void SaveWorkflowImage(string imageFile, ImageFormat imageFormat) 985public void SaveWorkflowImage(Stream stream, ImageFormat imageFormat)