Login - Search - Contact Us
Amyuni Logo
Home Developer Tools End-User Products Support Company Language
 
PDF for Silverlight
 

 

 

 

 


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.

Microsoft Silverlight

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: Version 4.0 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 Now

Download version 4.0 of Amyuni PDF Suite
PDF Suite

Download version 4.0 now

Download Now

Preview a PDF document within the Silverlight control now!
Preview PDF in Silverlight

Run the sample from your web browser:

Preview 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.


TEL U.S. 1-866-926-9864 (9-AMYUNI) EUR (+33). 1-30-61-07-97 Site Map | Forum | Search | Trial Download Resource | Contact Us | sales@amyuni.com