We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to remove and add a new paragraph in PDF

Hi


in PDF using C# code

I would like to remove an existing paragraph from a pdf and add a new paragraph at the same location and want to keep the same format as the source text

I can read the source text from another PDF file “input.pdf”, this pdf file contains only one paragraph including a hyperlink. I want to retain the same format when I merge in the target PDF.

Do you have any suggestion / sample code ?

Sam.

Hi Sam,


Thanks for contacting support.

Currently paragraphs are only used for PDF generation and cannot be accessed after loading an existing document. Though we have logged a feature request as PDFNET-42858 in our issue tracking system, for the sake of enhancement. Development team will further investigate the feasibility of the required feature and as soon as we have some definite updates in this regard, we will let you know. Please be patient and spare us little time.

We are sorry for the inconvenience.


Best Regards,

Hi Asad


Thanks for your confirmation.

Actually I want to replace a hyperlink’s display text where I could not remove the underline from the existing hyperlink (as the proposed hyperlink’s display text is shorter than the original) so I thought of replacing the whole paragraph which is not possible

I have raised another ticket for this issue so let me wait for your support.

Regards
Sam

Hello Sam,


Thanks for sharing details with us.

We have already noticed the issue related with underline text and for the sake of its correction we have logged an issue as PDFNET-39639 in our issue tracking system, as well. Development team will surely investigate the reasons behind this issue and we will keep you posted with the status of its correction within this forum thread. Please be patient and spare us little time.

We are sorry for the inconvenience.


Best Regards,