Skip to main content

GetGraphicClassByName(string) Method

Returns a reference to a registered graphic class by its name.

Declaration

function GetGraphicClassByName(const AClassName: string): TGraphicClass;

Parameters

Name Type Description
AClassName string

The target graphic class name.

Returns

Type Description
TGraphicClass

The reference to a TGraphic class descendant.

Remarks

To obtain a list populated with references to all registered graphic classes, call the GetRegisteredGraphicClasses function instead.

See Also