CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
image_lock_mode.h
1
2#ifndef _image_lock_mode_h_
3#define _image_lock_mode_h_
4
5#include <system/enum_helpers.h>
6
7namespace System { namespace Drawing { namespace Imaging {
9 enum class ImageLockMode {
11 ReadOnly = 0x0001,
13 WriteOnly = 0x0002,
17 UserInputBuffer = 0x0004,
18 };
19
22DECLARE_ENUM_OPERATORS(System::Drawing::Imaging::ImageLockMode);
23
25DECLARE_USING_GLOBAL_OPERATORS
27}}}
29DECLARE_USING_ENUM_OPERATORS(System::Drawing::Imaging);
30
31#endif
Definition: bitmap.h:56
@ ReadOnly
The pixel data is read-only.
ImageLockMode
Specifies properties of the region of an image being locked.
Definition: image_lock_mode.h:9
@ WriteOnly
The region is locked only for writing.
@ ReadWrite
The region is locked both for reading and writing.
@ UserInputBuffer
The image resides in a user input buffer, access to which is controlled by the user.
Definition: db_command.h:9