Replies: 1 comment
-
@eladpotok The WPF renderers in SharpVectors do not restrict the size of the converted image, since it is a conversion from a vector to vector format. This is done so that the containers like the If you wish to restrict the size, use the controls like |
Beta Was this translation helpful? Give feedback.
-
Lets take a look on this svg url: https://www.svgrepo.com/show/254105/batman.svg .
Using as web component supports the margin. for example, this image with 250px in web looks like that:
![image](https://user-images.githubusercontent.com/32292032/138093713-8bf7eb4d-c0ae-4d3e-bb5b-953742a51f24.png)
But when using this library, the image is stretched and covers the whole 250px:
![image](https://user-images.githubusercontent.com/32292032/138094232-780f7b41-bf8e-435a-8db2-4900a091e0bd.png)
thanks
Beta Was this translation helpful? Give feedback.
All reactions