Portals, Software & Project Mangement

Mho on things

How to export Visio shapes to XAML and use it with Silverlight

I've been playing around with Silverlight, to see if I could animate any of my Visio 2003 drawings.

But even in the latest version of the MSFT tool, it is not possible to save a drawing as XAML.
Strange....

But there is a way around it. But only if you really, really want it cry

I tested this with a pc shape.


This is how you can use this shape in XAML
  1. Install the XPS driver
  2. Print to an XPS file
  3. Rename the XPS file to a zip file
  4. Extract the 1.fpage
  5. Rename it to 1.xaml
  6. Open it in SPKet and replace the XML declaration with the XAML one and add a <Canvas> tag around the design. You should see the preview in the tool

The XAML file is attached
pc.xaml
Now you see what I mean with "If you really, really want it" ...

3rd Enterprise Portals ReportSharepoint books

Comments

maruti computersmcldelhi Thursday, August 4, 2011 12:36:04 PM

i need to use visio stencil file .vsx in my silverlight application
and use its stencil elements to draw diagrams in silverlight.

Can you help me out here pls?

Here i only need to extract visio stencil elements only may be in Xaml form or image format.

IsaacPrince1001 Sunday, August 7, 2011 8:38:49 AM

I'm sorry, Maruti, I can't help you out. I've stopped testing Silverlight, my focus is on project management for the moment.

Write a comment

New comments have been disabled for this post.

June 2012
M T W T F S S
May 2012July 2012
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30