System::Drawing::Imaging::BitmapData class
Contents
[
Hide
]BitmapData class
Represents a set of attributes of a bitmap image. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class BitmapData : public System::Object
Methods
Method | Description |
---|---|
get_Height() const | Returns the height of the image in pixels. |
get_PixelFormat() const | Returns the pixel format of the bitmap image. |
get_Scan0() const | Returns the address of the first pixel data in the bitmap. |
get_Stride() const | Returns the stride width of the image in bytes. |
get_Width() const | Returns the width of the image in pixels. |
set_Height(int) | Sets the height of the image in pixels. |
set_PixelFormat(PixelFormat) | Sets the pixel format of the bitmap image. |
set_Scan0(IntPtr) | Sets the address of the first pixel data in the bitmap. |
set_Stride(int) | Sets the stride width of the image in bytes. |
set_Width(int) | Sets the width of the image in pixels. |
See Also
- Class Object
- Namespace System::Drawing::Imaging
- Library Aspose.Page for C++