Back to Devexpress

RegisterGraphicClass(TGraphicClass) Method

vcl-cximage-dot-registergraphicclass-x28-6bb0c1ea-x29.md

latest1.3 KB
Original Source

RegisterGraphicClass(TGraphicClass) Method

Registers a TGraphic class descendant for all DevExpress editors that can work with images.

Declaration

delphi
procedure RegisterGraphicClass(AGraphicClass: TGraphicClass);

Parameters

NameTypeDescription
AGraphicClassTGraphicClass

The reference to the target TGraphic class descendant.

|

Remarks

Call RegisterGraphicClass and UnRegisterGraphicClass procedures to manage the list of registered image container classes (such as TdxSmartImage, TdxOfficeImage, TdxPNGImage, etc.) To obtain the full list of registered [TGraphic] class descendants, call the GetRegisteredGraphicClasses function.

See Also

GetGraphicClassByName Function

cxImage Unit