Prototype

property OnUnknownImage64: TUnknownImage64Event read FOnUnknownImage write FOnUnknownImage;

Description

Occurs when an base64-encoded image cannot be loaded because the format is not supported by the Windows Imaging Component (WIC).


aSource contains the base64 encoded image. aSize, if not null, is the optimal image size for rendering. aColor is the desired color for the image, TAlphaColors.Null if not needed. Alerts, for example, pass the required color according to their type (note, caution, etc.). aImage is the object to fill with the resulting image.

If a control associated with this component also handles this event, it is called first, TMDStyle.OnUnknowImage64 is called only if the control returns an empty image.


See TMDCustomControl.OnUnknownImage64 for more information.

See also

TUnknownImage64Event

TMDCustomControl.OnUnknownImage64

Windows Imaging Component