The following code snippet shows how to replace text inside PDF file and the page contents should be re-arranged automatically. In order to cater above-stated scenarios, Aspose.PDF for Java has been enhanced so that no such issues appear when replacing text inside PDF file. Its automated features help to optimize your individual workflow. So the requirement was to introduce a mechanism that once the text inside a PDF document is replaced, the contents should be re-arranged. PDFCreator is the popular PDF converter that offers all the features that you need to get your work done quickly and efficiently. However recently some customers encountered issues during text replace when particular TextFragment is replaced with smaller contents and some extra spaces are displayed in resultant PDF or in case the TextFragment is replaced with some longer string, then words overlap existing page contents. Package import .* public class ExampleReplaceText Text Replacement should automatically re-arrange Page ContentsĪspose.PDF for Java supports the feature to search and replace text inside the PDF file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |