Click here to Skip to main content
11,805,604 members (55,348 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: WPF

I need a solution convert SVG file into XAML finally need to displaty

svg file to my wpf application.

need step by step procedure example

if i get this example calliburn Micro frame work .. i am very happy.

this is my gmail : [DELETED]

[edit]SHOUTING removed, Email deleted - OriginalGriff[/edit]
Posted 3-Dec-12 3:15am
Edited 3-Dec-12 3:48am
OriginalGriff at 3-Dec-12 9:48am
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I know just one open-source code that does is, but a very good one, amazingly good: Inkscape:[^],[^] (this page shows where to download source code).

When SVG to XAML export was first introduces, it wasn't really functional, but in recent version it works extremely well. I often advise it for WPF development which I did, and it worked very well. So, you can find this operation in source code and see how it works.

If you need to implement it in your .NET code, it will be considerable amount of work. First, you can just translate the code to C#. Another option is to use P/Invoke.

If you need to learn P/Invoke, start from here:[^],[^].

This CodeProject can also be useful: Essential P/Invoke[^].

One alternative to P/Invoke is to use C++/CLI mixed-mode (managed+unmanaged) project. This project could build a DLL required by the global hooks, but it can contain some managed wrapper CLI code, so, from the standpoint of your .NET application, you can use it as a regular .NET assembly, that is, reference it. Please see:[^],[^],[^],[^].


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 300
1 Richard Deeming 225
2 Sergey Alexandrovich Kryukov 170
3 ppolymorphe 125
4 Abhinav S 118
0 OriginalGriff 3,300
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 3 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100