Graphics.TIcon

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Graphics.pas

TIcon = class(TGraphic)


Unit: Graphics

Type: class

Inherited Class Members: Graphics.TIcon Members

Class Properties: Graphics.TIcon Properties

Class Methods: Graphics.TIcon Methods

Class Constructors & Destructors: Graphics.TIcon Constructors

C++ Information

From Graphics.hpp

TIcon = class(TGraphic)


Unit: Graphics

Type: class

Inherited Class Members: Graphics.TIcon Members

Class Properties: Graphics.TIcon Properties

Class Methods: Graphics.TIcon Methods

Class Constructors & Destructors: Graphics.TIcon Constructors

Description

TIcon is an encapsulation of a Windows icon.


Use TIcon to represent one of the icons in an image list. Assign an icon to objects that have an Icon property, such as TForm or TPicture.

Icon objects represent the value loaded from a Windows icon file (.ICO file). Draw an icon on a canvas, using the Draw method of the TCanvas object. Icons do not stretch, so do not use StretchDraw (TCanvas) with an icon.

Note:  TIcon can be used to display the value of a multi-resolution (>16 color) icon. However, it can not support the creation of multi-resolution icons, nor the resizing of the image after it is loaded from a file or stream.

See Also

Personal tools
Translations
Newest Version