RAD Studio VCL Reference
TImage Class

TImage displays a graphical image.

TImage = class(TGraphicControl);
class TImage : public TGraphicControl;

Use TImage to display a graphical image on a form. Use the TPicture object in the Picture property to specify the actual bitmap, con, metafile, or other graphic object displayed by TImage. Properties and methods of TPicture can be used for such things as loading an image from file, clearing the image in the TImage, and assigning an image for another control. TImage introduces several properties to determine how the image is displayed within the boundaries of the TImage object. 

To add an image to a form or data module so that it is available for display by other controls, such as action lists and bitmap buttons, use a TImageList control instead. 

A TImage may hold a bitmap, icon, PNG, GIF or JPEG image. A TImageList may hold any image type a TImage holds. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!