Screenshot from WPF application as SVG / vector graphics?

Is it possible to create a screenshot of a WPF application as an SVG / is there some kind of built-in WPF function to get the XAML code for the current rendered window, which can then be converted to SVG? I need some screenshots to document the WPF application, and I would like them to be scalable, for example, the WPF program uses, for example. Snoop or Vista Magnifyer. Thanks for any hint!

+3
source share
1 answer

You will need to use XamlWriter to serialize XAML, and then write or find an implementation of something to convert it to a vector format of your choice.

+3

Source: https://habr.com/ru/post/1743674/


All Articles