PDF Sharp
[[samples]]
Last edit on Aug 24, 2009 3:04 PM by thomas_hoevel

Directory of Sample Code


Note
Please visit the new PDFsharp project homepage.
Please visit the PDFsharp forum to get support, report bugs, or request features.
This site is no longer maintained.

Basic Samples

Samples written in C#

Annotations Shows how to create annotations
Bookmarks Shows how to create bookmarks
CombineDocuments Merges two documents side by side
ConcatenateDocuments Shows how to create a new document from two existing PDF files
ExportImages Shows how to export JPEG images from a PDF file
Graphics Shows the functionality of the XGraphics class
HelloWorld Creates PDF and draws "Hello, World!"
PageSizes Shows how to set different page sizes
Preview Shows how to render graphics in both a preview and a PDF document
PrintFile Shows how to print a PDF file programmatically using Adobe Reader or Adobe Acrobat
ProtectDocument Shows how to encrypt a document
SplitDocument Converts each page of a document in a single document
TextLayout Shows how to render graphics in both a preview and a PDF document
TwoPagesOnOne Combines every two pages on one page
Unicode Shows how to use Unicode text in PDFsharp
UnprotectDocument Shows how to open a password protected document
Watermark Draws a watermark above or beneath existing content
WorkOnPdfObjects Shows the low-level manipulation of PDF objects
XForms Shows how to create an XForm object from scratch

Samples written in VB.NET

HelloWorld Creates PDF and draws "Hello, World!"

Web Samples

Web Samples written in C#

PDFsharp Clock Shows how to create a PDF document on the fly in an ASP.NET application
this is a test

Web Samples written in VB.Net

PDFsharp HelloWorld Shows how to create a PDF document on the fly with VB.Net 2.0 and then display it on a browser.
In addition to the Hello World! text, there are straight lines, an elipse, a coloured rectangle with formatted text on top of it and
formatted text inside a border.

Note
Please visit the new PDFsharp project homepage.
Please visit the PDFsharp forum to get support, report bugs, or request features.
This site is no longer maintained.