c# - How to get html content and convert it to PDF with itextsharp? -


Does anyone know how to get html content, convert it to PDF in PDF?

I have tried many ways, but nothing seems to work, in some articles, it is written to use HTMLParse, in other HTMLWorker ... sometimes an error "There is no page in the document" ... Sometimes, it only throws an exception but does not specify this error ...

Does anyone know the best way to do this?

I am using C # 3.0, ASP.NET MVC and LinQToSQL.

Thanks in advance and much more !!

I look for PDFs for HTML. It is an XI and there is no library, so it may not be exactly what you are looking for, but maybe it will take you to the trash.

Looking at the eText book, Loggi says:

"There is often a question on the e-mail mailing list, does iText provide HTML2PDF functionality? The official answer is not, Or it is advisable to use ICER brochures. "Page 456.

Then he goes to show an example of HTMLParser, but emphasizes that this does not even have the huge job of parsing and presenting HTML.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -