How do I get a Bitmap from the TWebImageControl component?

79 views Asked by At

During design-time in my TMS Web Core Website, I added a .png image to the TWebImageControl component using the Picture property:

Delphi TWebImageControl Component in TMS Web Core

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?

0

There are 0 answers