Vcl.Graphics.TPicture.Graphic

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Graphic: TGraphic read FGraphic write SetGraphic;

C++

__property TGraphic* Graphic = {read=FGraphic, write=SetGraphic};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPicture

Description

Specifies the graphic that the picture contains.

Use Graphic to specify what graphic the TPicture object contains. The graphic can be a bitmap, icon, metafile, or user-defined graphic class (Types of Graphic Objects).

Note: When assigning the Graphic property, TPicture assigns the properties of a another TGraphic object. It does not take ownership of the specified object.

See Also

Code Examples