Compartilhar via


BitmapLocker Constructors

Definition

Overloads

BitmapLocker(Bitmap)

Locks the bits for the bitmap in ReadOnly mode

BitmapLocker(Bitmap, ImageLockMode)

Locks the bits for the bitmap.

BitmapLocker(Bitmap, ImageLockMode, Rectangle)

Locks the bits for the bitmap.

BitmapLocker(Bitmap)

Locks the bits for the bitmap in ReadOnly mode

public:
 BitmapLocker(System::Drawing::Bitmap ^ bitmap);
public BitmapLocker (System.Drawing.Bitmap bitmap);
new Microsoft.VisualStudio.Imaging.BitmapLocker : System.Drawing.Bitmap -> Microsoft.VisualStudio.Imaging.BitmapLocker
Public Sub New (bitmap As Bitmap)

Parameters

bitmap
Bitmap

Bitmap to lock

Applies to

BitmapLocker(Bitmap, ImageLockMode)

Locks the bits for the bitmap.

public:
 BitmapLocker(System::Drawing::Bitmap ^ bitmap, System::Drawing::Imaging::ImageLockMode mode);
public BitmapLocker (System.Drawing.Bitmap bitmap, System.Drawing.Imaging.ImageLockMode mode);
new Microsoft.VisualStudio.Imaging.BitmapLocker : System.Drawing.Bitmap * System.Drawing.Imaging.ImageLockMode -> Microsoft.VisualStudio.Imaging.BitmapLocker
Public Sub New (bitmap As Bitmap, mode As ImageLockMode)

Parameters

bitmap
Bitmap

Bitmap to lock

mode
ImageLockMode

Lock mode

Applies to

BitmapLocker(Bitmap, ImageLockMode, Rectangle)

Locks the bits for the bitmap.

public:
 BitmapLocker(System::Drawing::Bitmap ^ bitmap, System::Drawing::Imaging::ImageLockMode mode, System::Drawing::Rectangle rect);
public BitmapLocker (System.Drawing.Bitmap bitmap, System.Drawing.Imaging.ImageLockMode mode, System.Drawing.Rectangle rect);
new Microsoft.VisualStudio.Imaging.BitmapLocker : System.Drawing.Bitmap * System.Drawing.Imaging.ImageLockMode * System.Drawing.Rectangle -> Microsoft.VisualStudio.Imaging.BitmapLocker
Public Sub New (bitmap As Bitmap, mode As ImageLockMode, rect As Rectangle)

Parameters

bitmap
Bitmap

Bitmap to lock

mode
ImageLockMode

Lock mode

rect
Rectangle

Rectangle to lock

Applies to