Click here to Skip to main content
13,288,520 members (67,343 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 4:15am
Updated 3-Dec-12 4:48am
OriginalGriff 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171207.1 | Last Updated 3 Dec 2012
Copyright © CodeProject, 1999-2017
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