Options Exports

How do I remove some options from the Save button? I do it in design and it doesn't change and I also put it in the code and it doesn't change. Do you know why?

Example:


pvcVisualizador.Exports = PreviewExports.Prepared | PreviewExports.PDFExport;

Comments

  • What version of FastReport.Net are you using?

  • edited May 2020

    Version 2019.4.9 full.

  • Try using the latest version. This bug has been fixed.

  • Thanks.

  • Hello!

    Please update to the latest release of FastReport .NET 2027.1.x; this behavior has been fixed in that version.

    In practice, set the restriction both on the control and in the global settings before calling ShowPrepared(), so that the global FastReport.config file does not overwrite your filter:

    Config.PreviewSettings.Exports = PreviewExports.Prepared | PreviewExports.PDFExport;
    previewControl1.Exports = PreviewExports.Prepared | PreviewExports.PDFExport;
    
This discussion has been closed.