Vcl.Graphics.TPicture.Icon
Delphi
property Icon: TIcon read GetIcon write SetIcon;
C++
__property TIcon* Icon = {read=GetIcon, write=SetIcon};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TPicture |
Description
Specifies the contents of the TPicture object as an icon graphic (.ICO file format).
If Icon is referenced when the TPicture contains a Bitmap or Metafile graphic, the graphic won't be converted. Instead, the original contents of the TPicture are discarded and Icon returns a new, blank icon.
Note: When assigning the Icon property, TPicture assigns the properties of a another Icon object. It does not take ownership of the specified value.