iText Community
iText Community is the same as iText Core in terms of functionalities, but can be used only with the AGPL license. Compliance with this license typically means you must disclose your own source code under an AGPL compatible license and you must disclose any modifications to iText. In addition, not all iText Core add-ons are available for the Community version, and it does not come with premium support.
How it works
To demonstrate the powerful high-level capabilities of the iText Core/Community library, here is a simple "Hello World!" example showing how to create a PDF in just a few lines of Java or C#:
1
2
3
4
5
6
7
public static void main() throws IOException {
final PdfWriter pdfWriter = new PdfWriter("hello.pdf");
final PdfDocument pdfDocument = new PdfDocument(pdfWriter);
try (final Document document = new Document(pdfDocument)) {
document.add(new Paragraph("Hello World!"));
}
}
1
2
3
4
5
6
7
8
9
10
11
static void Main(string[] args)
{
{
using (PdfWriter pdfWriter = new PdfWriter("hello.pdf"))
using (PdfDocument pdfDocument = new PdfDocument(pdfWriter))
using (Document document = new Document(pdfDocument))
{
document.Add(new Paragraph("Hello World!"));
}
}
}
You can view the example output PDF from the following link:
Resources
Here you will find the needed resources to install and use iText Community.
Other resources
Core capabilities of iText Community
iText Community is a straightforward, performant and extensible library that is ready to handle the challenges of today's digital document workflows.
Embed iText Community's code libraries in applications to create the type of PDF files you want. Whether you’re creating batches of files automatically to add to a digital archive or you want to set up a form campaign for your customers, iText can help you get it right.
Extensible add-on APIs
Just like the iText Core PDF library, iText Core add-ons offer powerful, extensible APIs for Java and .NET (C#) programming, yet with a gentle learning curve. Check out our Knowledge Base for tutorials, examples, and more.
Up to date
iText Core uses Unicode for bookmarks, PDF names, PDF strings, passwords and more. The up to date hashing and encryption algorithms allow for digital signatures, document security, and supports multi-gigabyte files or extremely large documents.
Customizable & extensible
The comprehensive Java and .NET (C#) PDF libraries have both out of the box functionality, for easy use, and the flexibility to extend and customize to meet your needs. iText Core focuses on easy integration and open standards.
Open source add-ons
Like the iText Core PDF library, our open-source add-ons can be used for free under the AGPL conditions.
- pdfHTML: Convert HTML & CSS to PDF
- pdfSweep: Securely redact data from PDF
- pdfOCR: Convert scanned documents, PDFs and images into fully searchable PDF/A-3u compliant format
Alternatively, a commercial license releases you from copyleft restrictions, gives you professional support, and much more. Visit our License Model page to learn more.
Why use iText Community?
With iText Community you don't have to worry about PDF technologies and standards, you can focus on your business needs and document content. At the same time, your development team has access to internal PDF structures, offering them to possibility to read, insert, update and delete any PDF object they want. In addition to this, they can benefit from our rich and up-to-date technical documentation in the Resource Center.
Focus on the high level, business logic
High-level APIs allow you to keep focus on your business logic and document content as iText Core offers an abstract document model.
Focus on the low level, with internal PDF structures
The low-level APIs give full access to the internal PDF structures, which allow you to read, insert, update and delete any PDF document.
Meet Global PDF Standards
- PDF: PDF 1.x, PDF 1.7 (ISO 32000-1), PDF 2.0 (ISO 32000-2) from iText Core 7.1 on.
- Archiving: PDF/A-1, PDF/A-2, PDF/A-3, PDF/A-4 (ISO 19005-1, -2, -3, and -4, all levels).
- Accessibility: PDF/UA-1 (ISO 14289-1), PDF/UA-2 (ISO 14289-2).
- Digital signatures: PAdES (ETSI EN 319 142 / ETSI TS 102 778).
- Interactive Forms: Fill, extract and flatten AcroForms and XFDF.
- Fill, extract and check for XFA files.
- Support for SVG.