I am producing a report with the code below that works fine., it displays the report which is zoomed to a whole page.
Dim printTool AsNewReportPrintTool(report)
Dim ps AsPrintingSystemBase = printTool.PrintingSystem
printTool.ShowRibbonPreview()
ps.ExecCommand(PrintingSystemCommand.ZoomToWholePage)
What I want to be able to do is scale the report to fit to one page. Both width and height. I know the font may become very small, and the width my reduce but I need to get the report to print in one page only.
Is this possible.