Online Demo

The Document Toolkit Sample Browser demonstrates most of the features of Document Toolkit for Silverlight. The source code of this demo application is available in the Evaluation Version.

Launch Online Demo

Click the image to launch the demo in a new window.

 

Details

The Document Toolkit Sample Browser demonstrates a variety of features, including the following;

  • A complete example of how to render and persist custom annotations
  • Custom text selection toolbar with Bing and Google search engine integration
  • Detailed access to Glyph metrics using GlyphRun classes
  • Detailed TrueType font information using FontParser and GlyphTypeface classes
  • How to convert Microsoft Word, OpenDocument and other document types on-the-fly to XPS
  • Loading an XPS document from a variety of sources including the web, isolated storage, embedded resources, etc.
  • A sample demonstrating integration with the Rx framework (.NET 4 Linq To Events)
  • Using a book control
  • Various styles to customize the the document viewer UI
  • Dynamic rendering of page thumbnails

 

Contributions

  • Sample documents are courtesy of their respective owners.
  • The icons in the metadata explorer are taken from the excellent Silk icon set created by Mark James.
  • A Silverlight port of SharpZipLib is used to read XPS documents from the local disk.