Determines if the specified resource type is valid for the image format.
Source position: graphics.pp line 1478
public function TFPImageBitmap.TyphonResourceTypeValid( |
const ResourceType: string |
):Boolean; override; |
ResourceType |
|
Resource type examined in the method. |
True when the resource type name is one file extensions 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, and re-implements the method defined in the ancestor class. The return value is True when ResourceType contains is one the file extensions returned from IsFileExtensionSupported. The return value is False if ResourceType contains any other value.
TyphonResourceTypeValid is used in the implementation of the LoadFromTyphonResource method.
|
Indicates whether the given file extension is supported for the image type. |
|
|
Determines if the specified resource type is valid for the image format. |
|
|
Determines if the specified resource type is valid for the image format. |
|
|
Load the graphic data from a Typhon Resource (.ctrs) file. |
| CT Web help |
| CodeTyphon Studio |