I have a UWP app that uses an InkCanvas to capture drawings. These are then saved in the standard serialization format.
I now have a requirement to display these within a ASP.NET MVC web app. (MVC 5 / .NET 4.6)
I have found a way to convert these to SVG - however it uses the UWP InkCanvas control, which I do not believe is accessible from with in an ASP.NET app. I have tried using the WPF version of the control instead - but that appears to use a different serialization format.
Now, is there any way to me to convert the strokes to SVG without using the control?
I can also think of a few other messy solutions to achieve this - converting to SVG directly in the UWP app (then need to store both the source InkCanvas data and SVG data, and keep these in sync) - so looking for a cleaner approach.