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