I've created a Paragraph using iText. Now I have to add a border to this paragraph, not to the whole document. How do I do this?
But iText 7 offers a much more easier way to achieve what you want:
Here it is!
Click How to add a border to a paragraph? if you want to see how to answer this question in iText 5.