Reputation: 17
I need to convert html to pdf with base64 and ephtmltopdf.dll. The conversion went well. But I can not select PDF content after conversion saved file as an image. I need to be able to select text after conversion. I have tried to change configuration suggested in other posts but still not able to make it work.
Upvotes: 2
Views: 2256
Reputation: 19330
There are 2 types of PDF. Raster
pdf, which is essentially an image, and vector
pdf. You need to create vector pdf. And the software you are using is html-to-pdf has documentation about it
pdfConverter.PdfDocumentOptions.GenerateSelectablePdf = true;
And you can see an example. Also, see if you are not falling victim of this situation
Upvotes: 3