8 references to PixelFormat
System.Drawing (4)
commonui\System\Drawing\Bitmap.cs (1)
703if ((PixelFormat & PixelFormat.Indexed) != 0) {
commonui\System\Drawing\Graphics.cs (1)
232if ((image.PixelFormat & PixelFormat.Indexed) != 0) {
commonui\System\Drawing\Icon.cs (1)
1023bmpData = tmpBitmap.LockBits(new Rectangle(0,0, tmpBitmap.Width, tmpBitmap.Height), ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
misc\DpiHelper.cs (1)
457deviceImage = new Bitmap(deviceImageSize.Width, deviceImageSize.Height, logicalImage.PixelFormat);
System.Windows.Forms (4)
misc\DpiHelper.cs (1)
457deviceImage = new Bitmap(deviceImageSize.Width, deviceImageSize.Height, logicalImage.PixelFormat);
winforms\Managed\System\WinForms\Control.cs (1)
6170using (Bitmap image = new Bitmap(width, height, bitmap.PixelFormat)) {
winforms\Managed\System\WinForms\ImageList.cs (1)
720bmpData = tmpBitmap.LockBits(new Rectangle(imageInfo.rcImage_left,imageInfo.rcImage_top, imageInfo.rcImage_right-imageInfo.rcImage_left, imageInfo.rcImage_bottom-imageInfo.rcImage_top), ImageLockMode.ReadOnly, tmpBitmap.PixelFormat);
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
351if (Image.GetPixelFormatSize(image.PixelFormat) > 16) {