[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings

DefaultExportSettings Property

DefaultExportSettings

Gets or sets custom default settings for exports, formatted by export type and setting name.

Declaration
public Dictionary<string, Dictionary<string, ExportSetting>> DefaultExportSettings { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, ExportSetting>>

A dictionary where keys are export types and values are dictionaries of export settings.

Examples
Format keys are mht, pdf, tiff, xls, xlsx, csv, doc, docx, json, xml, xlsxData, csvData, rtf and txt. Settings keys are the export settings which are available for RenderingExtensions.
new Dictionary<string, Dictionary<string, ExportSetting>>()
{
   {
       "xls",
       new Dictionary<string, ExportSetting>()
       {
           {
               "FileName", new ExportSetting()
               {
                   Value = "test",
                   Visible = false
               }
           }
       }
   }
};