Posted 14 September 2020, 1:30 am EST
Hi,
I want to set default path for “Save to Print Output As” Save File dialog box while saving a pdf.
Thanks.
Forums Home / ActiveReports / General Discussion
Posted by: trisha.b.sinha on 14 September 2020, 1:30 am EST
Posted 14 September 2020, 1:30 am EST
Hi,
I want to set default path for “Save to Print Output As” Save File dialog box while saving a pdf.
Thanks.
Posted 14 September 2020, 3:37 pm EST
Hello,
There is no way to set the default path. However, you can choose the filename with default path using the following line of code:
viewer1.Document.Printer.PrinterSettings.PrintFileName = @"D:\AR_Vue_sample\test.pdf";
viewer1.Document.Printer.PrinterSettings.PrintToFile = true;
Hope it helps.
Thanks,
Mohit