Screenshot from WPF application as SVG / vector gr

2019-04-12 12:36发布

is it possible to create a screenshot of a WPF application as SVG / is there some WPF built-in function to get the XAML code for the current drawn window that then can be converted to SVG? I need some screenshots for documenting a WPF application and I'd like them to be zoomable like a WPF program is using e.g. Snoop or Vista Magnifyer. Thanks for any hint!

1条回答
你好瞎i
2楼-- · 2019-04-12 13:06

You would need to use XamlWriter to serialize the XAML, and then write or find an implementation of something to convert that to the vector format of choice.

查看更多
登录 后发表回答