03-24-2020 12:58 AM
I'm using automatic saving when measurement is done.
However...I know how to programmatically change .docx report file name and save it to disk, but how can this be done when saving report to PDF ? When using Microsoft Print to PDF printer the user is always asked where to save file and to enter name of the file by hand..I want to setup location and filename of pdf report programmatically so that user does not need to...
03-24-2020 08:21 AM
Hmm, so I might be miles away but are you using the Report Generation Toolkit to do this?
If not, I'm missing exactly what you're trying.
This page discusses using calls in C# to set the output file: https://social.msdn.microsoft.com/Forums/Lync/en-US/e9eb9fdf-c1f2-403a-abc9-678535e9606f/programmati...
If you're using the RGT, probably you can either copy and modify or use the built-in version as inspiration to edit the behaviour and use the call they describe.
However, having briefly looked at it, there might be easier ways...