2

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.

T.S.
  • 18,195
  • 11
  • 58
  • 78
hajar
  • 17
  • 1
  • 6

1 Answers1

3

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

Community
  • 1
  • 1
T.S.
  • 18,195
  • 11
  • 58
  • 78
  • @hajar It is working because my answer helped you or because you found it yourself? If my answer helped you, please up-vote on it and it will indicate that this solves the issue you had. Thank you – T.S. Nov 05 '16 at 16:45