Prototype

property OnImageValidate: TImageValidateEvent read FOnImageValidate write FOnImageValidate;

Description

Occurs when loading the document for each image, if they contain parameters.

Set aAccept to true to accept the image or to false to reject it. A rejected image is not rendered.


Note: if the control is associated with a TMDStyle that also handles this event, both must return true in aAccept.

See also

TMDCustomControl.OnImageValidate

TMDStyle.OnImageValidate