Bitmap property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TBitmapHandle Bitmap

Delphi Syntax

Bitmap: TbitmapHandle

Overview

Refer to Bitmaps and Bitmap Lists.

Remarks

Is the handle of the bitmap.

Setting this property to 0 clears the bitmap from memory. You can assign its value to another Main Control's Bitmap property to create a copy.

If a region is defined for the bitmap, the region is also freed or copied.

When assigning to this property, a copy of the source control's bitmap is made unless the Main Control's RefBitmap property is set to True. Use the RefBitmap property to avoid having a second copy of the source image in memory.

See Also

Elements:

RefBitmap property

Topics:

Raster Images: Creating and Deleting Images

 

Raster Images: Creating and Maintaining Lists of Images

 

Raster Images: Copying Images