Determines if the specified resource type is valid for the image format.
Source position: graphics.pp line 1444
public function TCustomBitmap.TyphonResourceTypeValid( |
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.
TyphonResourceTypeValid is a Boolean function used to determine if the value in ResourceType is a valid resource type for the image format.
TyphonResourceTypeValid 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.
TyphonResourceTypeValid is used in the implementation of the LoadFromTyphonResource method.
|
Load the graphic data from a Typhon Resource (.ctrs) file. |
|
|
Gets the named resource from a Typhon Resource (.ctrs) file. |
| CT Web help |
| CodeTyphon Studio |