I am using PDFSharp to generate PDF from html source.
PdfGenerator.GeneratePdf(html, PageSize.A4);
Generate to pdf works well, but I dont know how I can change page orientation to landscape?
I am using PDFSharp to generate PDF from html source.
PdfGenerator.GeneratePdf(html, PageSize.A4);
Generate to pdf works well, but I dont know how I can change page orientation to landscape?
the following code could be usefull for you: