12 references to PixelFormat
System.Drawing.Common (5)
misc\DpiHelper.cs (1)
105Bitmap deviceImage = new(deviceImageSize.Width, deviceImageSize.Height, logicalImage.PixelFormat);
System\Drawing\Bitmap.cs (2)
317if ((PixelFormat & PixelFormat.Indexed) != 0) 492PixelFormat currentFormat = PixelFormat;
System\Drawing\Graphics.cs (1)
132if ((image.PixelFormat & PixelFormat.Indexed) != 0)
System\Drawing\Icon.cs (1)
686bmpData = tmpBitmap.LockBits(new Rectangle(0, 0, tmpBitmap.Width, tmpBitmap.Height), ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
5006using Bitmap image = new(width, height, bitmap.PixelFormat);
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
625bmpData = tmpBitmap.LockBits(imageInfo.rcImage, ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
112if (Image.GetPixelFormatSize(image.PixelFormat) > 16) 392if (Image.GetPixelFormatSize(image.PixelFormat) > 16)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2485Bitmap result = new(bitmap.Width, bitmap.Height, bitmap.PixelFormat);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListImage.cs (1)
42public PixelFormat PixelFormat => Image.PixelFormat;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
177Bitmap scaledBitmap = new(desiredSize.Width, desiredSize.Height, bitmap.PixelFormat);