Welcome
Guest
•
Login
PDFsharp and MigraDoc Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
File Management
Create Account
Quick Search
»
Visit the new
Website for PDFsharp & MigraDoc Foundation 6.0 for .NET 6
and find information about the new version for Windows, Linux, and other platforms.
Back
PDFsharp Samples
Modified on 2015/09/10 15:59
by
Thomas Hövel
Categorized as
PDFsharp Samples
,
Samples
{toc} The samples are included in the PDFsharp source code package. So there is no need to copy and paste the code from this site (for some samples we only show snippets here). ===Desktop Samples=== {| cellspacing="3" border="0" | '''[HelloWorld-sample|Hello World]''' || is the obligatory Hello World program. |- | '''[HelloWorld-sample-VB|Hello World (VB)]''' || is the obligatory Hello World program written in Visual Basic .NET. |- | '''[Graphics-sample|Graphics]''' || shows some of the capabilities of the XGraphcis class. |- | '''[Annotations-sample|Annotations]''' || shows how to create annotations. |- | '''[Booklet-sample|Booklet]''' || shows how to produce a booklet by placing two pages of an existing document on one landscape orientated page of a new document (for duplex printing). |- | '''[Bookmarks-sample|Bookmarks]''' || shows how to create bookmarks |- | '''[ColorsCMYK-sample|Colors CMYK]''' || shows how to use CMYK colors. |- | '''[CombineDocuments-sample|Combine Documents]''' || shows how to import pages from existing PDF files into a new file. |- | '''[ConcatenateDocuments-sample|Concatenate Documents]''' || shows how to concatenate the pages of several PDF documents to one single file. |- | '''[ExportImages-sample|Export Images]''' || shows how to export JPEG images from a PDF file. |- | '''[FontResolver-sample|Font Resolver]''' || shows how to use fonts that are included with your application. |- | '''[MultiplePages-sample|Multiple Pages]''' || shows how to create a simple list that can span more than one page. |- | '''[PageSizes-sample|Page Sizes]''' || shows a document with different page sizes. |- | '''[Preview-sample|Preview]''' || shows how to render graphics in both a preview and a PDF document. |- | '''[PrivateFonts-sample|Private Fonts]''' || shows how to use fonts that are not installed with Windows with the GDI build. |- | '''[ProtectDocument-sample|Protect Document]''' || shows how to protect a document with a password. |- | '''[SplitDocument-sample|Split Document]''' || shows how to convert a PDF document with n pages into n documents with one page each. |- | '''[TextLayout-sample|Text Layout]''' || shows how to layout text with the TextFormatter class |- | '''[TwoPagesOnOne-sample|Two Pages on One]''' || shows how to place two pages of an existing document on one landscape orientated page of a new document. |- | '''[Unicode-sample|Unicode]''' || shows how to use Unicode text in PDFsharp |- | '''[UnprotectDocument-sample|Unprotect Document]''' || shows how to unprotect a document (if you know the password). |- | '''[Watermark-sample|Watermark]''' || draws a watermark above or beneath existing content |- | '''[WorkOnPdfObjects-sample|Work on Pdf Objects]''' || shows how to deal with PDF objects that are not (yet) covered by specialized PDFsharp classes (as an example it adds an OpenAction to an existing PDF file) |- | '''[XForms-sample|XForms]''' || shows how to create an {s:className|XForm} object from scratch. You can think of such an object as a template, that, once created, can be drawn frequently anywhere in your PDF document. |} ===WebSamples=== {| cellspacing="3" border="0" | '''[Clock-sample|Clock]''' || shows how to create a PDF document on the fly in an ASP.NET application. |} {s:Note} We'll provide more samples in the future.
Meta Keywords:
Meta Description:
Change Comment:
Visit the new
Website for PDFsharp & MigraDoc Foundation 6.0 for .NET 6
and find information about the new version for Windows, Linux, and other platforms.
Miscellaneous
Home
PDFsharp
FAQ
Samples
Articles
MigraDoc
FAQ
Samples
Articles
ScrewTurn Wiki version 3.0.5.600. Some of the icons created by
FamFamFam
.
Impressum - Privacy Policy, Data Protection Declaration, Legal Notice