We think this is the quickest and easiest way to generate a PDF document from a .NET application.
The Scryber library allows developers to define documents, pages and components and
in an xml file, load that file. Perform any manipulations required and render the document to an output stream.
Start with your xml file
<?xml version="1.0" encoding="utf-8"?>
<pdf:Document xmlns:pdf="Scryber.Components, Scryber.Components, Version=0.8.0.0, Culture=neutral, PublicKeyToken=872cbeb81db952fe"
<pdf:Page id="MyFirstPage" >
And then output the document
protected void Page_GeneratePDF(object sender, CommandEventArgs e)
PDFDocument doc = PDFDocument.ParseDocument("./App_Data/PDFs/Document.pdfx");
OK - Nice, but not that special
If that was all, then it might be interesting, but nothing spectacular, right?
Well what about...
- cascading styles,
- data binding,
- custom components,
- or even writing your own extensions.
Would that spark interest? Thought so...
Included in the release is a read me guide that will take you through set up and generating a pdf from an RSS feed with binding and styles. (And it was also generated in Scryber if you really what to see what can be done).
You can download the read me independently from the scryber site
Source code vs libraries
The released libraries for this project will give you everything you need to set up and start generating PDF documents along with the XSD's and Sample templates.Add the XSD's to the Visual Studio 10 Schemas directory, and put the dll's in the GAC.
If you don't want this, then you can either download the the source code and be able to debug as you go.
At the moment it's Beta release.
We are still working on making this perfect. There are a few issues we know about, but it's still worth downloading a see what you can make of it.
There will be many improvements to be made to it over the coming months and years.
For full support and documentation please visit