912e20dc23d523dd7718b873908b0d2e3f76b76f
enabling-css-in-pdfs.md
| ... | ... | @@ -0,0 +1,9 @@ |
| 1 | +#Enabling CSS in PDFs & PDF Exports |
|
| 2 | + |
|
| 3 | +PDFs generated by our legacy **ITextSharp** PDF generator do not support CSS and many other things such as 'Landscape' printing. |
|
| 4 | + |
|
| 5 | +You should use our new **HTML2PDF** generator if you want to get proper output. |
|
| 6 | + |
|
| 7 | +How to set in _Global.asax_: |
|
| 8 | + |
|
| 9 | +``AdHocSettings.PrintMode = PrintMode.Html2PdfAndHtml;`` |
|
| ... | ... | \ No newline at end of file |