Text in com.itextpdf.layout.element means an alternative for Chunk .
To make part of a paragraph bold, you will need a bold font, which will be specified for a piece of text.
Paragraph p = new Paragraph(); p.add(new Text("this will be in bold").setFont(boldFont));
Alternatively, you can rely on iText to mimic the bold for a regular font, but this is not the preferred way.
p.add(new Text("bold will be simulated for regular font").setBold());
Please check out the bouncing tutorial written by Bruno Loudzhi.
source share