[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCustomIcon.GetTypeID

Gets the icon type identifier used in the image list header.

Declaration

Source position: graphics.pp line 1624

protected class function TCustomIcon.GetTypeID: Word; virtual;

Function result

Type identifier for images in the icon.

Description

GetTypeId is a Word class function used to get the image type identifier used for icon images. It is used in the implementation of the WriteStream method, and provides the value stored in the icon image header.

Since TCustomIcon instances are not included in component streaming, the return value is always returns 0. GetTypeId is overridden in TIcon to provide the value used in the derived class.


Version 4.0 Generated 2025-05-03 Home