Title Image

Don Xml's Grok This

The home of Don Demsak
Welcome to Don Xml's Grok This Sign in | Help
in Search

This Blog

Syndication

Site Sponsors

DonXml's All Things Techie

Creating XAML-GUI Via Adobe Illustrator

Taking Pablo’s suggestion of using Illustrator to create XAML-GUI, I was able to get it to work with a few caveats.  Yes, Illustrator can create XAML-GUI thru Illustrator’s printing functions and the WCPD, but it is hard to control the generated output.  With Illustrator’s SVG export functions, you can control the number of decimal places of the coordinates, and you can also control the location of the 0,0 coordinate.  This way the resulting XAML coordinates are much easier to work with.  But using Illustrator to print a vector graphic, I can’t seem to find a way to control these properties, and the resulting XAML is significantly larger than the Svg2Xaml created version (thanks to all the extra significant digits).

One last thing, after printing via Illustrator and going thru the WCPD file save stuff, it generates an exception.  The XAML-GUI file is created, and Illustrator still works, but I get an exception box.  I expect these types of things from alpha version, so it doesn’t surprise me.  So if you get one too, don’t worry.

DonXML Demsak

Published Tuesday, November 18, 2003 6:47 AM by donxml

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

TrackBack said:

December 3, 2003 12:26 PM

TrackBack said:

December 3, 2003 12:28 PM

Peter Stern said:

I tried print to xaml from Illustrator 10 running on longhorn (WinHec).
It generated 161 jpg files, 18 X 1700 pixels. So it rasterized the vectors into image strips, like it was sent through a paper shredder.

June 15, 2004 1:00 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

About donxml

I’m an independent consultant, specializing in .Net solutions architecture, based out of New Jersey who also doubles as an evangelist for XML, Domain Driven Design, enterprise architecture and .Net. I do not work for Microsoft, the W3C or any other big company that you may know of (at least not yet). I’ve been an indie for over ten years, and although I’ve been tempted a couple times to take a job with companies like Microsoft, I’ve haven’t found something better than my current situation. I work mostly with the large pharmaceuticals that are based here in New Jersey, and usually find myself on long term contracts. Definitely not the prototypical indie consultant, but it lets me dedicate time to my non-income generating activities like the developer community stuff, plus financing open source projects like XPathmania and MVP-XML. If you would like to talk to me about doing some contract work, just contact me via the contact page. My rates vary widely, depending on lots of different variables, but mostly distance from Jersey, and type of work. Plus, I’ve been known to donate some of my code for various projects.
Powered by Community Server, by Telligent Systems