Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
How can i display svg image in my silverlight apllication using C#
Posted
Comments
Sergey Alexandrovich Kryukov 10-Feb-12 2:55am    
Are you sure you really need SVG (which I would actually encourage)? Alternatively, you can always work with XAML as you can always export SVG to XAML (well, a really big subset of SVG).
--SA

1 solution

Silverlight does not interpret SVG directly.

The SVG project at codeplex can read and render an SVG file to a Graphics object which you might be able to use in Silverlight. Alternatively you can just use the HttpHandler to render the SVG straight to the browser in PNG format.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900