Hi,
what is the correct way to disable some export formats in the designer and viewer?
I open both with report.ShowWithWpf() or report.DesignWithWpf().
The solution from the FAQ doesn't seem to work for me. Also I don't want the customer to enable some export options by changing a config file.
Thanks.
Hartmut
Disable Export Formats in Designer/Viewer
Disable Export Formats in Designer/Viewer
Hello Hartmut,
You can use following code:
Thank you.
You can use following code:
Code: Select all
StiOptions.Viewer.Windows.Exports.ShowPdf = false;
StiOptions.Viewer.Windows.Exports.ShowXps = false;
....