PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

TallPDF.NET 5.0

Generate PDF on the fly, from scratch, use code, XML/XSL or a combination.
Documentation
Download TallPDF.NET 5.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.

Features
.NET Core new
Generate PDF from scratch
Generate from XML/XSL
Minimize embedded fonts
High-level layout object model
Headers and footers
Table of contents
Tables

No results

Calculate the height of a paragraph in PDF
This code sample demonstrates how to use the event mechanism to calculate the height of a paragraph in a PDF.
Multipage TIFF to PDF
This article shows you how to convert a multipage TIFF to PDF using TallPDF.NET. Read this code sample or search our code sample base.
Create PDF in C#
This simple code sample shows you how to create a PDF using C# and print "Hello World" to it. Read or search our code sample base.
Text formatting
This code sample shows how to format your text. Read this Tall Components code sample or search our code sample base.
How to add page numbers to your PDF
This article shows how to add page numbers to PDF using TallPDF built-in features. Read or search our code sample base.
Append multiple PDF documents
This code sample illustrates to loop through a given folder and append each PDF documents found into a new generated PDF document.
Add text field to PDF
This code sample illustrates how you can add TextFields to your PDF. Read this Tall Components code sample or search our code sample base.
Convert XHTML to PDF
This code sample shows how to add a note to a PDF document C#. Read this code sample or search our code sample base.
Add footer with left and right aligned text on same line
Add a footer to a PDF document that has left aligned text with a page number and right aligned text on the same line.
XhtmlParagraph and TrueType fonts
The following code converts XHTML to PDF using the XhtmlParagraph. Read this code sample or search our code sample base.
... and 9 more
What is the resulting fontsize in PDF for rich text used in a SimpleXhtmlShape
TallPDF supports the SimpleXhtmlShape. This shape accepts PDF rich text as its Text attribute. Read or search our code sample base.
Read and write meta data from PDF
This article shows a sample for reading and writing meta data from PDF using C#. Read this code sample or search our code sample base.
Merge PDF
In this code sample we will create a new PDF by stitching two existing PDF documents. Read or search our code sample base.
Stitch PDF documents
This code sample shows how to stich PDF pages from an existing PDF document to a newly generated PDF using TallPDF.NET.
Convert TXT to PDF
This code sample helpt converting TXT to PDF. Read this Tall Components code sample or search our code sample base.
Bulleted list from XML and XSL
This code sample helps getting a bulleted list from XML and XSL. Read this code sample or search our code sample base.
Use multiple licenses
This code sample explains how to register multiple license keys with a single application. Read or search our code sample base.
Generate PDF form from XML
The following code sample shows how to generate a PDF form from XML. Read this code sample or search our code sample base.
Generate PDF with local images from XML with Xamarin.iOS
This code sample generates a PDF from XML with an image that is included as resource. Read or search our code sample base.

Compatible with

PDFKit.NET 5.0 is compatible with .NET CorePDFKit.NET 5.0 is compatible with XamarinPDFKit.NET 5.0 is compatible with .NET Framework
Document doc = new Document();
Section section = doc.Sections.Add();
section.PageSize = PageSize.Letter;

TextParagraph textParagraph = new TextParagraph();
// ... add fragment objects
section.Paragraphs.Add(textParagraph);

Image image = new Image("some.jpg");
// ... set image properties
section.Paragraphs.Add(image);

Table table = new Table();
// ... add rows, cells, etc.
section.Paragraphs.Add(table);

Generate PDF from scratch

Central to TallPDF.NET is a consistent and intuitive object model consisting of layout classes like Document, Section, TextParagraph, Table, Header, Footer, etc.

Document doc = new Document();
Section section = new Section();
doc.Sections.Add( section );

// add a new drawing of size 200 x 200 pt
Drawing drawing = new Drawing( 200, 200 );
section.Paragraphs.Add( drawing );

// add a pie shape with a red outline and blue interior
PieShape pie = new PieShape();
pie.Pen = new Pen( System.Drawing.Color.Red, 2 );
pie.Brush = new SolidBrush( System.Drawing.Color.Blue );
drawing.Shapes.Add( pie );

Vector graphics

Among the specialisations of class Paragraph is Drawing. Use it to draw many types of shapes such as lines, bezier curves and even barcodes. Use pens and brushes to draw outlines and fills.

<document xmlns="http://www.tallcomponents.com/schemas/tallpdf/v3">
   <section>
      <paragraph type="textparagraph">
         <fragment>Hello World</fragment>
      </paragraph>
   </section>
</document>

Generate from XML

Instead of building a Document programmatically, you can load it (partly) from XML. In general you will use XSL to transform from a given XML schema to XML that can be consumed by TallPDF.NET.

Document doc = new Document();
Section section = new Section();
doc.Sections.Add(section);

// add a table
Table table = new Table();
section.Paragraphs.Add(table);

// add a row
Row row = table.Rows.Add();

// add a cell
Cell cell = row.Cells.Add();

// add text to the cell
TextParagraph text = new TextParagraph();
cell.Paragraphs.Add(text);

Tables

Add Tables to a Section. Add Rows to a Table. Add Cells to a Row and add any Paragraph to a Cell. Specify spacings, margins, borders and backgrounds.

Document doc = new Document();

Section section = new Section();
doc.Sections.Add(section);

Header oddHeader = new Header();
oddHeader.TopMargin = new Unit(0.2, UnitType.Inch);
section.OddHeader = oddHeader;

TextParagraph textParagraph = new TextParagraph();
textParagraph.Fragments.Add(new Fragment("Page #p of #P"));
oddHeader.Paragraphs.Add(textParagraph);

Headers and footers

Headers and footers are added to each page that matches the specified page traits (first, odd, even, last). Include dynamic content such as current page number and total page count.

Select currency
Cloud
Redistribute
Email support 1 year
Maintenance 1 year
Upgrades 1 year
Renewal 25%
Quantity:
Price:990990825

Deploy our software to cloud infrastructure such as Azure or AWS.

Email support 1 year
Maintenance 1 year
Upgrades 1 year

Deploy our software to multiple servers or multiple desktops. Either in-house or at your customer’s site.

Licensing
Want to get to know more about our license model?
Read more