Vcl.ExtCtrls.TImage

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTImage

Delphi

TImage = class(TGraphicControl)

C++

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

Properties

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

Description

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