# GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DefaultExportSettings_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings*">DefaultExportSettings Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DefaultExportSettings_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings*"></a>
<h4 id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DefaultExportSettings" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.InitializationOptions.DefaultExportSettings">DefaultExportSettings</h4>
<div class="markdown level1 summary"><p>Gets or sets custom default settings for exports, formatted by export type and setting name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Dictionary&lt;string, Dictionary&lt;string, ExportSetting&gt;&gt; DefaultExportSettings { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ExportSetting.html">ExportSetting</a>&gt;&gt;</td>
      <td><p>A dictionary where keys are export types and values are dictionaries of export settings.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Blazor_Viewer_InitializationOptions_DefaultExportSettings_examples">Examples</h5>
<remarks>
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.
</remarks>
    <pre><code class="lang-csharp">new Dictionary&lt;string, Dictionary&lt;string, ExportSetting&gt;&gt;()
{
   {
       "xls",
       new Dictionary&lt;string, ExportSetting&gt;()
       {
           {
               "FileName", new ExportSetting()
               {
                   Value = "test",
                   Visible = false
               }
           }
       }
   }
};</code></pre>

</div>
