Sign in Join
FPDoc Onlineexperiment

TCustomIcon.GetStreamSignature function

Member of TCustomIconprotectedIn unit Graphics

Gets the stream signature used for icon data.

Declaration

pascal
class function GetStreamSignature: Cardinal; virtual

Function result

Cardinal value with the stream signature for the class.

Description

GetStreamSignature is a Cardinal class function used to get the signature which identifies the image content when stored in a stream. GetStreamSignature is used in the implementation of the ReadData method which reads the values for the class instance during LCL component streaming.

GetStreamSignature is defined as a virtual method, and is overridden in TIcon to use the value required for the icon image format.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.