Page orientation
Opened this issue · 3 comments
KofToZ commented
How can I set the page orientation of a sheet to landscape?
NikkiKurashov commented
You can try to use my modification. How can I send you the modified files?
NikkiKurashov commented
xlsx->currentWorksheet()->setPrintPaperSize(9);
xlsx->currentWorksheet()->setPrintOrientation(QXlsx::Worksheet::Portrait);
xlsx->currentWorksheet()->setPrintFitToWidth(1);
xlsx->currentWorksheet()->setPrintFitToHeight(1);
NikkiKurashov commented
You can download Qxlsx with addons https://github.com/NikkiKurashov/QXlsx