Home » c# » c# – Pdf text wraping

c# – Pdf text wraping

Posted by: admin February 21, 2020 Leave a comment


I’m using the itextsharp.dll to find a text field in my PDF document, and then replace the searched text with new value. The new text is much longer than the old text, and it is not causing any overlap which is great. However, because the text is much longer other text now flows off of the page instead of pushing down to the next line as I would typically expect. How can I ensure my subsequent text does not go off of the screen but is instead dropped down to the next line?

How to&Answers: