Bitmap property

Delphi example

C++Builder example

 

Builder Syntax

Ltvcltyp::TBitmapHandle Bitmap

Delphi Syntax

Bitmap: TBitmapHandle

Overview

Refer to Working with Data Sets.

Remarks

This is the handle to a LEAD bitmap.

Calling GetBitmapValue will update this property with the image from the item specified by the CurrentElement property.

If you assign from this property to a Main Control Bitmap, a copy of the image will be made in the target Main Control, unless the Main Control's RefBitmap property is set to True. Assigning to this property from any other valid Bitmap property will always result in a copy being made.

Set the Bitmap property to 0 at any time to free the memory used for the bitmap.

See Also

Elements:

GetBitmapCount method, GetBitmapValue, SetBitmapValue