Closed xelnaga64 closed 1 year ago
I use Chromium1.PrintToPDF(filename) to save the page as PDF file. Is it possible to choose portrait or landscape modes?
Yes. Add this line before the PrintToPDF call : Chromium1.PDFPrintOptions.Landscape := True;
Chromium1.PDFPrintOptions.Landscape := True;
Please, use our forums for more questions : https://www.briskbard.com/forum/
I use Chromium1.PrintToPDF(filename) to save the page as PDF file. Is it possible to choose portrait or landscape modes?