Prototype

TUnknownImageEvent = procedure(Sender: TObject; const aFileName: string; aSize: TSize; const aImage: TWICImage) of object;

Description

TUnknownImageEvent is the function type for an OnUnknownImage event.


aFileName contains the fully qualified path and filename to load. aFileName can be a temporary cached file if the image was downloaded from the Internet. aSize is the optimal image size for rendering, it can be null if the size does not matter. aImage is the object to fill with the resulting image.

See also

TMDStyle.OnUnknownImage

TMDCustomControl.OnUnknownImage