Skip to main content

TcxCustomImage.OnGetGraphicClass Event

Occurs when the graphic class of the image assigned to an image editor is being determined.

Declaration

property OnGetGraphicClass: TcxImageEditGraphicClassEvent read; write;

Remarks

Handle this event to specify the graphic class which describes the graphical data that will be stored within the image editor. The APastingFromClipboard parameter indicates the condition which the image is assigned for and is equal to True when the image is pasted from the clipboard, and False in all other cases. The AGraphicClass parameter specifies the graphic class assigned to the image. This can be a non-registered graphic class (not a bitmap graphic, metafile graphic, icon, or JPEG compressed image data).

See Also