From RAD Studio API Documentation
Jump to: navigation, search



TImage = class(TGraphicControl)


class PASCALIMPLEMENTATION TImage : public Vcl::Controls::TGraphicControl


Type Visibility Source Unit Parent
class public
Vcl.ExtCtrls Vcl.ExtCtrls


TImage displays a graphical image.

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.

See Also

Code Examples