DefaultExportSettings Property (InitializationOptions)
Gets or sets custom default settings for exports, formatted by export type and setting name.
Property Value
A dictionary where keys are export types and values are dictionaries of export settings.
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
}
}
}
}
};