LockBits() public method

Lock bitmap data
public LockBits ( ) : void
return void
Beispiel #1
0
 public void SetPixel(int x, int y, Color color)
 {
     if (!bitmaplock)
     {
         holder.LockBits(); bitmaplock = true;
     }
     holder.SetPixel(x, y, color);
 }
Beispiel #2
0
 BitmapW(Bitmap a)
 {
     holder = new LockBitmap(a);
     if (!bitmaplock)
     {
         holder.LockBits(); bitmaplock = true;
     }
 }
Beispiel #3
0
 public BitmapW(String filename)
 {
     holder = new LockBitmap(new Bitmap(filename));
     if (!bitmaplock)
     {
         holder.LockBits(); bitmaplock = true;
     }
 }
Beispiel #4
0
 BitmapW(Bitmap a)
 {
     holder = new LockBitmap(a);
     if (!bitmaplock) { holder.LockBits(); bitmaplock = true; }
 }
Beispiel #5
0
 public BitmapW(String filename)
 {
     holder = new LockBitmap(new Bitmap(filename));
     if (!bitmaplock) { holder.LockBits(); bitmaplock = true; }
 }