BitmapDefinition


This class defines the type, width and color format of a bitmap and contains a pointer to the bitmap's bits.

public ref class BitmapDefinition
{
 public:
  int Type;
  int Width;
  int Height;
  int Bytes;
  unsigned short Planes;
  unsigned short Bits;
  Handle Data;
};

Type The bitmap type. This value must be zero.
Width The width (in pixels) of the bitmap. This value must be non-zero.
Height The height (in pixels) of the bitmap. This value must be non-zero.
Bytes The number of bytes in a scanline.
Planes The number of color planes in the bitmap.
Bits The number of bits required to represent the color of a pixel.
Data A pointer to memory containing the bit data of the bitmap.