Skip to main content

IsGlyphAssigned(TGraphic) Method

Identifies whether the specified TGraphic container is valid and hosts an image.

Declaration

function IsGlyphAssigned(AGlyph: TGraphic): Boolean;

Parameters

Name Type
AGlyph TGraphic

Returns

Type
Boolean

Remarks

This global function returns True if both the AGlyph container is not nil and its Empty property is False. Otherwise, the IsGlyphAssigned function returns False.

The IsGlyphAssigned function calls the second overloaded IsImageAssigned function variant internally and passes AGlyph as a parameter.

See Also