Is there any library or tool to convert a pdf file to SilverLig开发者_如何学运维ht xaml file?
This is what my google-fu got me:
http://www.amazedsaint.com/2009/05/pdf-to-xaml-conversion-alternate.html
From that article:
- Create a new Silverlight Project in Expression Blend.
- As Expression Blend can import adobe illustrator files, simply rename a pdf file's extension from
pdf
toai
- Clicked
File-> Import Adobe Illustrator files
in Blend, and imported to my active window.
You'll get the whole form imported as graphical paths, preserving the whole layout
- Download and install the free XAML Export plugin for Adobe Illustrator (CS, CS2, CS3, or CS4). http://www.mikeswanson.com/XAMLExport/
- Rename your .PDF to .AI (for older versions of Illustrator).
- Open in Adobe Illustrator.
- Choose which page (Illustrator can only open one page of your PDF at a time).
- Export to XAML (choose Silverlight over WPF, it produces better results)
- Rinse and repeat for other pages.
精彩评论