TGraphic.GetResourceType function
Gets the Integer Resource Type for the class instance.
Declaration
function GetResourceType: TResourceType; virtualDescription
GetResourceType is a
TResourceType function used to get
the resource type identifier for the class instance. It identifies the
storage format used for graphic data in a resource.
GetResourceType is declared as a virtual method, and is normally overridden
in descendants to return the resource type identifier for a specific image
format. The return value is RT_RCDATA in TGraphic.
GetResourceType is used in the implementation of methods including:
LoadFromResourceID and LoadFromResourceName.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
