13 instantiations of ImageFormat
System.Drawing (13)
commonui\System\Drawing\Advanced\ImageFormat.cs (12)
25
private static ImageFormat memoryBMP = new
ImageFormat
(new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}"));
26
private static ImageFormat bmp = new
ImageFormat
(new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}"));
27
private static ImageFormat emf = new
ImageFormat
(new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}"));
28
private static ImageFormat wmf = new
ImageFormat
(new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}"));
29
private static ImageFormat jpeg = new
ImageFormat
(new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}"));
30
private static ImageFormat png = new
ImageFormat
(new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}"));
31
private static ImageFormat gif = new
ImageFormat
(new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}"));
32
private static ImageFormat tiff = new
ImageFormat
(new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}"));
33
private static ImageFormat exif = new
ImageFormat
(new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}"));
34
private static ImageFormat photoCD = new
ImageFormat
(new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}"));
35
private static ImageFormat flashPIX = new
ImageFormat
(new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}"));
36
private static ImageFormat icon = new
ImageFormat
(new Guid("{b96b3cb5-0728-11d3-9d7b-0000f81ef32e}"));
commonui\System\Drawing\Image.cs (1)
937
return new
ImageFormat
(guid);
88 references to ImageFormat
System.Drawing (50)
commonui\System\Drawing\Advanced\ImageFormat.cs (29)
25
private static
ImageFormat
memoryBMP = new ImageFormat(new Guid("{b96b3caa-0728-11d3-9d7b-0000f81ef32e}"));
26
private static
ImageFormat
bmp = new ImageFormat(new Guid("{b96b3cab-0728-11d3-9d7b-0000f81ef32e}"));
27
private static
ImageFormat
emf = new ImageFormat(new Guid("{b96b3cac-0728-11d3-9d7b-0000f81ef32e}"));
28
private static
ImageFormat
wmf = new ImageFormat(new Guid("{b96b3cad-0728-11d3-9d7b-0000f81ef32e}"));
29
private static
ImageFormat
jpeg = new ImageFormat(new Guid("{b96b3cae-0728-11d3-9d7b-0000f81ef32e}"));
30
private static
ImageFormat
png = new ImageFormat(new Guid("{b96b3caf-0728-11d3-9d7b-0000f81ef32e}"));
31
private static
ImageFormat
gif = new ImageFormat(new Guid("{b96b3cb0-0728-11d3-9d7b-0000f81ef32e}"));
32
private static
ImageFormat
tiff = new ImageFormat(new Guid("{b96b3cb1-0728-11d3-9d7b-0000f81ef32e}"));
33
private static
ImageFormat
exif = new ImageFormat(new Guid("{b96b3cb2-0728-11d3-9d7b-0000f81ef32e}"));
34
private static
ImageFormat
photoCD = new ImageFormat(new Guid("{b96b3cb3-0728-11d3-9d7b-0000f81ef32e}"));
35
private static
ImageFormat
flashPIX = new ImageFormat(new Guid("{b96b3cb4-0728-11d3-9d7b-0000f81ef32e}"));
36
private 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
'/>.
62
public static
ImageFormat
MemoryBmp {
70
public static
ImageFormat
Bmp {
79
public static
ImageFormat
Emf {
88
public static
ImageFormat
Wmf {
96
public static
ImageFormat
Gif {
104
public static
ImageFormat
Jpeg {
114
public static
ImageFormat
Png {
123
public static
ImageFormat
Tiff {
132
public static
ImageFormat
Exif {
142
public static
ImageFormat
Icon {
149
/// specified object is an <see cref='System.Drawing.Imaging.
ImageFormat
'/> equivalent to this <see cref='System.Drawing.Imaging.
ImageFormat
'/>.
152
ImageFormat
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)
98
if (value is
ImageFormat
) {
127
return typeof(
ImageFormat
).GetProperties(BindingFlags.Static | BindingFlags.Public);
commonui\System\Drawing\Bitmap.cs (1)
573
if (RawFormat.Guid ==
ImageFormat
.Icon.Guid) {
commonui\System\Drawing\Graphics.cs (1)
4642
if (image.RawFormat.Equals(
ImageFormat
.Emf)) {
commonui\System\Drawing\Image.cs (9)
404
if (image.RawFormat.Equals(
ImageFormat
.Gif)) {
575
public void Save(string filename,
ImageFormat
format) {
582
codec =
ImageFormat
.Png.FindEncoder();
648
ImageFormat
dest = RawFormat;
649
if (dest ==
ImageFormat
.Jpeg) {
650
dest =
ImageFormat
.Png;
658
codec =
ImageFormat
.Png.FindEncoder();
670
public void Save(Stream stream,
ImageFormat
format) {
927
public
ImageFormat
RawFormat {
commonui\System\Drawing\ImageConverter.cs (1)
145
if (image.RawFormat.Equals(
ImageFormat
.Icon)) {
commonui\System\Drawing\Printing\PrinterSettings.cs (7)
526
public bool IsDirectPrintingSupported(
ImageFormat
imageFormat) {
528
if (imageFormat.Equals(
ImageFormat
.Jpeg) || imageFormat.Equals(
ImageFormat
.Png)) {
529
int nEscape = imageFormat.Equals(
ImageFormat
.Jpeg) ? SafeNativeMethods.CHECKJPEGFORMAT : SafeNativeMethods.CHECKPNGFORMAT;
560
if (image.RawFormat.Equals(
ImageFormat
.Jpeg) || image.RawFormat.Equals(
ImageFormat
.Png)) {
571
int 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)
1139
ImageFormat
standardImageFormat =
ImageFormat
.Png;
1144
standardImageFormat =
ImageFormat
.Bmp;
1148
standardImageFormat =
ImageFormat
.Gif;
1152
standardImageFormat =
ImageFormat
.Tiff;
1157
standardImageFormat =
ImageFormat
.Jpeg;
1160
standardImageFormat =
ImageFormat
.Png;
1165
standardImageFormat =
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)
4808
this.BackgroundImage.Save(this.backgroundImageFileName, System.Drawing.Imaging.
ImageFormat
.Bmp);
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
1264
if (bmp.RawFormat.Guid !=
ImageFormat
.Icon.Guid && !ImageAnimator.CanAnimate(bmp)) {
1296
if (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)
740
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.BMPImageFormat),
ImageFormat
.Bmp));
741
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.JPEGImageFormat),
ImageFormat
.Jpeg));
742
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.PNGImageFormat),
ImageFormat
.Png));
743
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.TIFFImageFormat),
ImageFormat
.Tiff));
744
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.WMFImageFormat),
ImageFormat
.Wmf));
745
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.EXIFImageFormat),
ImageFormat
.Exif));
746
supportedFormats.Add(new SupportedImageFormats(DR.GetString(DR.EMFImageFormat),
ImageFormat
.Emf));
976
public
ImageFormat
Format;
978
public SupportedImageFormats(string description,
ImageFormat
imageFormat)
AuthoringOM\Design\WorkflowView.cs (2)
964
public void SaveWorkflowImage(string imageFile,
ImageFormat
imageFormat)
985
public void SaveWorkflowImage(Stream stream,
ImageFormat
imageFormat)