Using WPF Path Data in ASP.NET

109 views Asked by At

Is there any way to re-use Path data created in the mini-language for use with the WPF Path element in ASP.NET? Or is the Path mini-language exclusive to WPF?

I have a Win8 app that has a number of path geometry strings in the format "M10,110 L30,90 M50,110 L30,90", etc. I would really like to re-use these in a new ASP.NET website.

2

There are 2 answers

0
Dave Cluderay On BEST ANSWER

As I understand it, this is the SVG path syntax. e.g. https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths

1
AjS On

I dont think there is an easy way to reuse 'WPF' path in ASP.NET. What exactly are you trying to do? Perhaps, reuse the shape image would be the best way to go.