How to create a PDF document using iText?
This example is the first example of the iText series on how to use the iText library to create a PDF document.
In this example we show how to use the
Document class, getting an instance of
PdfWriter, etc. Creating a simple
Paragraph and set the text alignment and the font. Let see the code below: