2

Is it possible to import WMF (Windows Metafile) or any other vector based file into a silverlight project?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Sel
  • 53
  • 5

4 Answers4

3

You may want to have a look at free Silverlight Contrib project at codeplex. It comes with control to display WMF and EMF files.

sth
  • 222,467
  • 53
  • 283
  • 367
Jarek Kardas
  • 8,445
  • 1
  • 31
  • 32
3

You can use Paste2Xaml to convert WMF/EMF to XAML

http://www.wpf-graphics.com/Paste2Xaml.aspx

And (from the same source) ViewerSvg to convert SVG to XAML

http://www.wpf-graphics.com/ViewerSvg.aspx

Also, for SVG, InkScape has a XAML export feature and there's a XAML export plugin for Adobe Illustrator somewhere, for WMF, Microsoft Expression Graphics Designer (what a short name) is supposed to be able to import WMF and export XAML, but I haven't used those myself.

Nir
  • 29,306
  • 10
  • 67
  • 103
1

Inkscape can import wmf and export xaml: http://www.inkscape.org.

Jark
  • 3
  • 2
0

I don't know of a direct way, but I've definitely transformed SVG into XAML successfully before. See this brief guide.

John Feminella
  • 303,634
  • 46
  • 339
  • 357