hajar hajar - 8 months ago 70
Vb.net Question

convert html to pdf with ExpertPdf HtmlToPdf Converter

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.


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