Copy PDF Text

Hello,
using Syncfusion.PDF - is it possible to copy the text of one PDF into another? Of course, the position, font, etc. should be retained

The TextLineCollection looks very good and contains all relevant data for the text: loadedPage.ExtractText(out TextLineCollection textcol)

It would be great if I could insert the text directly into another PDF/Page with the data of "TextLine"


1 Reply

JT Jeyalakshmi Thangamarippandian Syncfusion Team August 23, 2024 10:35 AM UTC

Hi BSnake,

Currently, we do not support copying text from one PDF to another PDF document. However, this can be achieved using the CreateTemplate API. You can refer to the UG documentation for further details:

Working with PDF templates | Syncfusion 


Regards,

Jeyalakshmi T


Loader.
Up arrow icon