Aleksey:
- 1.I don't use the ExportDocument method to export of the report, I just show it in a modal window with the report.Show method.
2.If the user decides to export the report to PDF via the modal windows' Save button, the user is asked to configure the export options.
3. This is what I am trying to set programmatically
As I don't use the ExportDocument method, and only use the report.Show method, I take it any possible setting would have to be a static property in a particular class (I have looked at Stimulsoft.Report.StiOptions.Export.Pdf, but the password is not one of the options available)
There may also be a way of assigning the StiPdfExportSettings to a report, but I can't find anything like that.
Finally, there may be a way to use Events from the report.Show window, but I can't see anything there either.
Regards,
Martin