[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Determines if the specified resource type is valid for the image format.
Source position: graphics.pp line 1426
public function TCustomBitmap.LazarusResourceTypeValid( |
const ResourceType: string |
):Boolean; override; |
ResourceType |
|
The resource type examined in the method. |
Returns True if the resource type is valid for the image format.
LazarusResourceTypeValid is a Boolean function used to determine if the value in ResourceType is a valid resource type for the image format.
LazarusResourceTypeValid is an overridden method in TCustomBitmap, and re-implements the method defined in the ancestor class. The return value is True when ResourceType contains one of the values:
Case is not significant for the value in ResourceType; it is converted to uppercase prior to checking its value.
The return value is False if ResourceType contains any other value.
LazarusResourceTypeValid is used in the implementation of the LoadFromLazarusResource method.
|
Load the graphic data from a Lazarus Resource (.lrs) file. |
|
|
Gets the named resource from a Lazarus Resource (.lrs) file. |
Version 3.2 | Generated 2024-02-25 | Home |