Sign in Join
FPDoc Onlineexperiment

TGraphic.LazarusResourceTypeValid function

Member of TGraphicpublicIn unit Graphics

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

Declaration

pascal
function LazarusResourceTypeValid(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

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

LazarusResourceTypeValid 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.