Sign in Join
FPDoc Onlineexperiment

TCustomIcon.GetDefaultSize function

Member of TCustomIconprotectedIn unit Graphics

GetDefaultSize - returns default size for Icon.

Declaration

pascal
class function GetDefaultSize: TSize; virtual

Function result

TSize instance with the default width and height for an icon.

Description

GetDefaultSize is a TSize class function used to get the default size in new instances of the class. The return value uses the SM_CXICON and SM_CYICON values returned from the GetSystemMetrics function in its cx and cy members.

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