Is it possible to convert a string containing HTML code to a PDF file as it would look as a web page using itext?
If so is this documented anywhere?
Thanks.
I have to say it depends on the situation. iText supports XHTML and only limited tags. If the code is XHTML, there is a possibility.
Kazuya Ujihara
How would I do that?
See example codes.
Do you have to have a HTML document on your server or can you have a string containing the HTML-code?
Log in to post a comment.
Is it possible to convert a string containing HTML code to a PDF file as it would look as a web page using itext?
If so is this documented anywhere?
Thanks.
I have to say it depends on the situation. iText supports XHTML and only limited tags. If the code is XHTML, there is a possibility.
Kazuya Ujihara
How would I do that?
See example codes.
Do you have to have a HTML document on your server or can you have a string containing the HTML-code?