xtd 0.2.0
Loading...
Searching...
No Matches

◆ image_lock_mode

Specifies flags that are passed to the flags parameter of the xtd::drawing::bitmap::lock_bits method. The xtd::drawing::bitmap::lock_bits method locks a portion of an image so that you can read or write the pixel data.

Namespace
xtd::drawing::imaging
Library
xtd.drawing
Enumerator
read_only 

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

write_only 

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

read_write 

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

user_input_buffer 

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 xtd::drawing::bitmap::lock_bits 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.