During design-time in my TMS Web Core Website, I added a .png
image to the TWebImageControl
component using the Picture
property:
But now in run-time, I want to get the Bitmap of the image with code. I tried WebImageControl2.Bitmap
and WebImageControl2.Picture.Bitmap
, but there isn't a Bitmap
method or property to get it from. It says:
[Error] uMain_web.pas(277): identifier not found "Bitmap"
So, how can I get a bitmap from the TWebImageControl
component?