ImageLockMode public enum ImageLockMode Specifies flags that are passed to the flags parameter of the LockBits method. The LockBits method locks a portion of an image so that you can read or write the pixel data. Documentation Code namespace System.Drawing.Imaging { public enum ImageLockMode { ReadOnly = 1, WriteOnly, ReadWrite, UserInputBuffer } }