Gui: [skip ci] export PDF of 3D view in landscape orientation
This commit is contained in:
@@ -507,6 +507,7 @@ void View3DInventor::printPdf()
|
||||
Gui::WaitCursor wc;
|
||||
QPrinter printer(QPrinter::ScreenResolution);
|
||||
printer.setOutputFormat(QPrinter::PdfFormat);
|
||||
printer.setPageOrientation(QPageLayout::Landscape);
|
||||
printer.setOutputFileName(filename);
|
||||
print(&printer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user