Amyuni PDF Suite enables you to leverage the power of Silverlight with minimal code changes to your application. Silverlight programming is possible from any environment without the need for .NET programming, WPF or Framework 3.5.
 |
Using Microsoft Silverlight, developers can provide their users with content-rich web applications that are not limited to text and images, and which can now include complex graphics and better interaction with the users.
PDF Suite allows you to export any document into XAML for integration with Silverlight. [Read full article...] |
| Download Package contents: |
|
> Download Package now (Zip archive). Package contains:
- instructions.txt: Instruction repeated below on this page
- doc.pdf: Sample PDF file containing text, images and graphics
- pdf.asp: server side script to stream the PDF to the client as XAML (Silverlight format)
- PDFCreactiveX.dll: Evaluation version 3.5 of Amyuni PDF Creator, adds support for XAML
- PageTurn.js: Page-turn framework written by Jeff Prosise for MSDN, adapted to view PDF files
- amyuni.xaml: Blank XAML used as the top Canvas
- Default.html: HTML page hosting the Silverlight control
- Silverlight.js: Standard Javascript provided by Microsoft to host Silverlight controls
- Default.html.js: Most of the interesting code is located here
|
|
| Download the evaluation version 3.5 of Amyuni PDF Suite |
|
|
|
| Preview a PDF document within the Silverlight control now! |
|
|
To run the sample under IIS:
1) Copy all the files to the root IIS folder or any folder below the root
2) Register the PDFCreator control by running: regsvr32 pdfcreactivex.dll
3) From the web browser, navigate to http://localhost/PageTurnPdf/Default.html, assuming you named the folder PageTurnPdf
If the sample does not run, the first thing to check would be if IIS is denying access to all .xaml files. This can be the case if the .xaml extension is not registered in the list of MIME types supported by IIS.
The main file to analyze is Default.html.js. It contains all the code needed to download the XAML data and view the PDF pages.
Enjoy!
Amyuni Development Team
Read the full article by Dany Amiouny, CTO of Amyuni Technologies
© Amyuni Technologies Inc. All rights reserved. All trademarks are property of their respective owners.
|