We can extend itext to add Title for the Pdf document, we can add Author name, subject and also keywords to the pdf document.
You can view these details in Pdf File -> Properties.
We will extend the basic example and demonstrate this example:
We can see the different options that are available to extend the use of iText pdf.
Enter document. and press space bar, where it will show you the options like below :