Convert SVG to XAML

后端 未结 3 1702
感动是毒
感动是毒 2021-01-12 18:46

I tried InkScape & XPS method, but it doesn\'t give me correct XAML.

Can anyone please convert this SVG to WinRT compatible XAML ?

相关标签:
3条回答
  • 2021-01-12 19:03

    I'm not able to comment on the related answer, but I found it even easier to just open the SVG in Inkscape, copy and then paste it on Expression Design. Then select Copy to XAML (or Ctrl + Shift + C).

    0 讨论(0)
  • 2021-01-12 19:09

    Using Inkscape 0.91 it's possible to open an SVG file and directly save as XAML.

    Select Microsoft XAML file as the file type:

    enter image description here

    0 讨论(0)
  • 2021-01-12 19:16

    Take a look at this and see if it works: https://gist.github.com/timheuer/6443390

    Method (yes, superhack):

    • Use Inkscape to save as PDF
    • Rename the Filename extension from PDF to AI
    • Use Expression Design to open AI document
    • Export to Silverlight Canvas
    0 讨论(0)
提交回复
热议问题