08-07-2023, 07:21 PM
I'm trying to load an image into an IWCanvas.
I have tried calling UploadPngImage, and in the PngImageUploaded event I have loaded an image from a file:
But nothing is displayed.
What is the correct way to do this please?
I have tried calling UploadPngImage, and in the PngImageUploaded event I have loaded an image from a file:
Code:
procedure TIWForm1.IWCanvas1PngImageUploaded(Sender: TObject; aImage: TPngImage);
begin
aImage.LoadFromFile('Tick.png');
end;
But nothing is displayed.
What is the correct way to do this please?