Skip to main content

TdxCustomFastDIB.Bits Property

Returns a pointer to the first pixel of a 32-bit DIB image within the buffer.

Declaration

property Bits: PRGBQuad read;

Property Value

Type
PRGBQuad

Remarks

Use the Bits, Width, and Height properties with image draw routines that accept an array of TRGBQuad as a source of pixel data. The Bits property returns nil (in Dephi) or nullptr/NULL (in C++Builder) if the Empty function returns True.

Note

TdxCustomFastDIB class descendants associate an array of TRGBQuad values with a GDI resource (that is, a handle or device context).

See Also