LockBits()
Contents
[
Hide
]Bitmap::LockBits(const Rectangle&, Imaging::ImageLockMode, Imaging::PixelFormat) method
Locks a Bitmap into system memory.
Imaging::BitmapDataPtr System::Drawing::Bitmap::LockBits(const Rectangle &rect, Imaging::ImageLockMode flags, Imaging::PixelFormat format)
Arguments
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | A rectangle that specifies the region of the image to lock |
flags | Imaging::ImageLockMode | Specifies the access level to the bitmap |
format | Imaging::PixelFormat | The data format of this bitmap |
Return Value
A shared pointer to a BitmapData object that contains information about the performed lock operation
Bitmap::LockBits(const Rectangle&, Imaging::ImageLockMode, Imaging::PixelFormat, const Imaging::BitmapDataPtr&) method
Locks a Bitmap into system memory.
Imaging::BitmapDataPtr System::Drawing::Bitmap::LockBits(const Rectangle &rect, Imaging::ImageLockMode flags, Imaging::PixelFormat format, const Imaging::BitmapDataPtr &bitmap_data)
Arguments
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | A rectangle that specifies the region of the image to lock |
flags | Imaging::ImageLockMode | Specifies the access level to the bitmap |
format | Imaging::PixelFormat | The data format of this bitmap |
bitmap_data | const Imaging::BitmapDataPtr& | Contains information about the lock operation |
Return Value
A shared pointer to a BitmapData object that contains information about the performed lock operation
See Also
- Enum ImageLockMode
- Enum PixelFormat
- Typedef BitmapDataPtr
- Class Rectangle
- Class Bitmap
- Namespace System::Drawing
- Library Aspose.Slides