RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmapImage Class

TBitmapImage is the internal representation of the bitmap image for a TBitmap object.

Pascal
TBitmapImage = class(TSharedImage);
C++
class TBitmapImage : public TSharedImage;

Graphics

TBitmapImage is used only for internal implementation of the TBitmap component that is defined in the Graphics unit. It represents the internal image of the bitmap. All of the data and methods introduced in TBitmapImage are private. They contain information about the specific Windows bitmap resource, including pointers to the standard HBITMAP structures defined by Windows. TBitmapImage is referenced in the constructor of the TBitmap object when the bitmap image is created.

Note: TBitmapImage is how TBitmap does reference counting and handle sharing. Multiple instances can refer to the same TBitmap image. TBitmapImage is the actual owner of the bitmap handle.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!