Tutorial: iText by Example
Basic Text Objects
Table of Contents
Best viewed with:
Sections:
the PdfReader object
Examples:
Info
Reading information from a PDF file
Argument(s):
RomeoJuliet.pdf
Input:
RomeoJuliet.pdf
Output:
info.txt
ReadEncrypted
Reading information from an encrypted PDF file
Input:
HelloEncrypted.pdf
Output:
info_encrypted.txt
ANT script (all examples):
build.xml
the PdfReader object:
With
PdfReader
, you can get all kinds of metadata from an existing PDF, you can read formfields and you can extract pages as if it were images for use in a new PDF document.
Go to top of the page
Amazon books:
amazon.co.uk-link