Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TGraphic.TyphonResourceTypeValid

Determines if the specified resource type is valid for the image format.

Declaration

Source position: graphics.pp line 843

public function TGraphic.TyphonResourceTypeValid(

  const AResourceType: string

):Boolean; virtual;

Arguments

AResourceType

  

The resource type examined in the method.

Function result

Returns True when ResourceType is supported in the image format.

Description

TyphonResourceTypeValid is a Boolean function used to determine if the specified resource type is valid for the image format.

TyphonResourceTypeValid always returns False in TGraphic. The method must be overridden in descendent classes to check for resource type(s) supported for a specific image format.

See also

TCustomBitmap.TyphonResourceTypeValid

  

Determines if the specified resource type is valid for the image format.

TFPImageBitmap.TyphonResourceTypeValid

  

Determines if the specified resource type is valid for the image format.

TCustomIcon.TyphonResourceTypeValid

  

Determines if the specified resource type is valid for the image format.

TIcnsIcon.TyphonResourceTypeValid

  

Checks whether the specified Resource Type name is valid for the icon type.

TCursorImage.TyphonResourceTypeValid

  

Determines if the specified resource type is valid for the image format.



CT Web help

CodeTyphon Studio