Sign in Join
FPDoc Onlineexperiment

TCustomIcon.GetTypeID function

Member of TCustomIconprotectedIn unit Graphics

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

Declaration

pascal
class function GetTypeID: Word; virtual

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.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.