iText 5

iText 5 Java Tutorial - Complete PDF Development Guide

The most popular iText example is the "Hello World" example, explaining the five steps to create a PDF from scratch using iText:

// step 1 Document document = new Document(); // step 2 PdfWriter.getInstance(document, new FileOutputStream(filename)); // step 3 document.open(); // step 4 document.add(new Paragraph("Hello World!")); // step 5 document.close();

Obviously, iText is capable of doing much more than creating a PDF that shows the words "Hello World", but let's take a look at some basic questions to get started.

Does anyone have any idea how TabStop works? - iText 5 Documentation


How can I generate a PDF/UA compatible PDF with iText? | iText 5 PDF Development Guide


How to set the page size to Envelope size with Landscape orientation?


How to strike through text using iText? | iText 5 PDF Development Guide


How to match the size of graphics with the size of a page?


How to align a label versus its content? | iText 5 PDF Development Guide


How to align two paragraphs to the left and right on the same line? | iText 5 PDF Development Guide


How to create a custom dashed line separator? | iText 5 PDF Development Guide


How to add a full line break? | iText 5 PDF Development Guide


How to create a complex PDF document? | iText 5 PDF Development Guide


Argument not specified in iTextSharp - iText 5 Documentation


How to change the line spacing of text? | iText 5 PDF Development Guide


How to use the full size of a page? | iText 5 PDF Development Guide


How to create a document with unequal page sizes? | iText 5 PDF Development Guide


How to underline text with a dotted line? | iText 5 PDF Development Guide


How to generate and design PDFs with iText or iTextSharp?