Could it be that the SVG tags <A> and <IMAGE> are ignored when using the PictureBox control? Thx, Tom
If the browser can show your svg as an img or background-image url then it works. If it doesn’t work then you have to show the svg as html content. This is not a wisej issue.
Hi Levie, I’ve attached a ZIP file with 2 SVG files. The ‘municipios’ SVG file has a reference to the ‘cloudy day’ SVG file. When setting the ImageSource property of the PictureBox control to the ‘municipios’ SVG and run the application then the content of the ‘municipios’ SVG shows but the SVG image ‘cloudy day’ referenced in the ‘municipios’ SVG doesn’t show. There are also some <a> tags in the ‘municipios’ SVG file which seem to be ignored. When opening the ‘municipios’ SVG file directly then the included ‘clouse day’ SVG shows and the <a> tags work fine. Any suggestions? Thx, Tom
Hi Tom,
You can apply an image using the Image property or set the ImageSource property to an image URL.
Please provide a sample demonstrating the functionality you would like to achieve with the PictureBox.
Thanks,
Levie
Please login first to submit.