0

I have looked for a good solution for rendering a PDF based on a web page / HTML string, that can also keep the CSS styling.

Does anyone know of any good solutions for this?

Thanks in advance.

2 Answers 2

2

TRY ABCPDF

I have successffully used in the past.

Sign up to request clarification or add additional context in comments.

Comments

0

I've used the free and open source iTextSharp before with some success. I don't think it supports the case where you have a separate .css file, however it does apply inline css you use (the style attribute).

Typically you end up having to create a separate XHTML page for PDF generation with inline styles (and sometimes tables) in order to get the PDF to look right.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.