Vcl.ExtCtrls.TImage.Picture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Picture: TPicture read FPicture write SetPicture;

C++

__property Vcl::Graphics::TPicture* Picture = {read=FPicture, write=SetPicture};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TImage

Description

Specifies the image that appears on the image control.

Use Picture to specify the image for the TImage component. Picture is a reference to a TPicture object. Use properties and methods of TPicture to specify a bitmap, icon, metafile, or user-defined graphic to be displayed by the image control.

Setting Picture at design time brings up the Picture Editor, which can be used to specify the file that contains the image.

See Also

Code Examples