Does the new SvgImageSource class designed for UWP can be used in WPF project

前端 未结 2 1519
日久生厌
日久生厌 2021-01-28 04:51

It seems that a relatively new class: SvgImageSource can only be used in UWP. Is there any way to use it in a WPF project and how?

2条回答
  •  梦如初夏
    2021-01-28 05:42

    Please take a look at this framework: SharpVectors

    The other way is to convert your SVG files to XAML path geometry and using them easily.

提交回复
热议问题