4

I need to use InkCanvas in my web application using javascript (angular), is it possible to save InkCanvas as a SVG using javascript (or convert InCanvas to canvas)? i see this, but it seems it works for C#, i need a way to do it in javascript!

MHS
  • 881
  • 1
  • 13
  • 30

2 Answers2

1

I think InkCanvas is only supported in Universal Windows Platform (UWP) for Windows10. This is confirmed in this SO post.

ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56
  • Thanks for attention, is that any way to convert InkCanvas to Canvas? and then save canvas as SVG (with existing tools) @noogui – MHS May 22 '18 at 17:01
1

You can use Webassembly to run C# code in web browser using some JS helpers. Here is a post explaining the same.

You can try this with the c# code that you are interested in. Compatibility depended. These are relatively new features and only way to know is to try.

Anand
  • 9,672
  • 4
  • 55
  • 75