System.Drawing.Imaging.ImageLockMode Enumeration

Specifies flags that are passed to the flags parameter of the erload:System.Drawing.Bitmap.LockBits method. The erload:System.Drawing.Bitmap.LockBits method locks a portion of an image so that you can read or write the pixel data.

Syntax

public enum ImageLockMode

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
ReadOnly

Specifies that a portion of the image is locked for reading.

ReadWrite

Specifies that a portion of the image is locked for reading or writing.

UserInputBuffer

Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, the flags parameter of the erload:System.Drawing.Bitmap.LockBits method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the flags parameter serves only as an output parameter.

WriteOnly

Specifies that a portion of the image is locked for writing.

Requirements

Namespace: System.Drawing.Imaging
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0