9 references to ImageLockMode
System.Drawing (6)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
1873
ImageLockMode
flags, // ImageLockMode
commonui\System\Drawing\Bitmap.cs (2)
628
public BitmapData LockBits(Rectangle rect,
ImageLockMode
flags, PixelFormat format) {
642
public BitmapData LockBits(Rectangle rect,
ImageLockMode
flags, PixelFormat format, BitmapData bitmapData)
commonui\System\Drawing\Icon.cs (3)
972
System.Drawing.Imaging.
ImageLockMode
.WriteOnly,
1023
bmpData = tmpBitmap.LockBits(new Rectangle(0,0, tmpBitmap.Width, tmpBitmap.Height),
ImageLockMode
.ReadOnly, tmpBitmap.PixelFormat);
1028
targetData = bitmap.LockBits(new Rectangle(0, 0, bmpData.Width, bmpData.Height),
ImageLockMode
.WriteOnly, PixelFormat.Format32bppArgb);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
268
ImageLockMode
.ReadOnly,
winforms\Managed\System\WinForms\ImageList.cs (2)
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);
726
targetData = result.LockBits(new Rectangle(0, 0, imageSize.Width, imageSize.Height),
ImageLockMode
.WriteOnly, PixelFormat.Format32bppArgb);