Display SVG in TImage
Posted: 04 Feb 2016, 17:16
Hi,
I'm pretty new in Delphi and CAD VCL.
I'm trying to simply display an SVG file into a Delphi 2009 TImage. The TImage has Stretched property set to True and it is aligned all client (into a TPanel) and I wish to have the SVG stretched into the all client TImage.
I used the following code:
but the SVG is not aligned alClient (it just covers a small rectangle into the TImage).
Can you help me?
Thanks
I'm pretty new in Delphi and CAD VCL.
I'm trying to simply display an SVG file into a Delphi 2009 TImage. The TImage has Stretched property set to True and it is aligned all client (into a TPanel) and I wish to have the SVG stretched into the all client TImage.
I used the following code:
Code: Select all
VectorImg.Picture.LoadFromFile(s);
Can you help me?
Thanks