RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap Methods

The methods of the TBitmap class are listed here.

 
Name 
Description 
 
Called when graphic has changed. 
 
Draw 
Render graphic onto canvas at rectangle. 
 
Render graphic onto canvas at rectangle, blending with canvas's background. 
 
Indicates whether graphics object contains graphic. 
 
Get vertical size of graphic in pixels. 
 
Get color palette of graphical image. 
 
Indicate whether graphic supports partial transparency. 
 
Get horizontal size of graphic in pixels. 
 
Create GDI bitmap for TBitmap if it doesn't already exist. 
 
Create GDI bitmap for TBitmap's mask if it doesn't already exist. 
 
Create color palette for TBitmap's mask if it doesn't already exist. 
 
Read graphic data from TStream. 
 
Set vertical size of graphic in pixels. 
 
Set color palette of graphical image. 
 
Set horizontal size of graphic in pixels. 
 
Write graphic data to TStream. 
 
Name 
Description 
 
Copies a new bitmap image to the bitmap object. 
 
Creates a memory bitmap image in order to release the bitmap handle, forcing the image into DIB format to save resources. 
 
Frees the cached file image stored in memory by the bitmap. 
 
Indicates whether the TBitmap object has acquired a handle to the underlying GDI object. 
 
Loads a bitmap from the Clipboard into the bitmap object. 
 
Loads a bitmap from a resource into the bitmap object. 
 
Loads a bitmap resource into the bitmap object. 
 
Loads the bitmap from a stream into the bitmap object. 
 
Mask 
Converts the current bitmap image into a monochrome mask, replacing TransparentColor with white and every other color with black. 
 
Returns the handle to the bitmap so that the TBitmap object no longer knows about the handle. 
 
Returns the handle to the bitmap's mask so that the TBitmap object no longer knows about the mask handle. 
 
Returns the handle to the bitmap's palette and disassociates the palette from the TBitmap object. 
 
Creates a local copy of the bitmap in Clipboard format. 
 
Saves the bitmap to a stream. 
 
Specifies the size of the bitmap. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!