Free Support Forum - aspose.com

Href display text is overlapping while updating the existing links in PDF file

Dear Support,

We are using PDFContentEditor class for updating or replacing existing link and it’s display text in PDF file.
When we are replacing the href display text of link and if the replaced value is longer than the old display text value then the newly replaced display text is overlapping with the content or text presents right to the display text.

Could you please help us in resolving this issue?

@drout,

Please send us your source PDF and code. We will investigate your scenario in our environment, and share our findings with you.

I work with drout and he sent me these files to provide you with, please let us know if a way to resolve this issue.

Pdf.zip (574.6 KB)
Find-Replace-Issue-With-PDFFile.zip (1.1 MB)

@Chrisksang

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-45080 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.