dashboard-devexpress-dot-dashboardcommon-dot-dashboardexportsettings.md
Gets or sets the compatibility mode used to export a dashboard/dashboard items.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public static DashboardExportCompatibilityMode CompatibilityMode { get; set; }
Public Shared Property CompatibilityMode As DashboardExportCompatibilityMode
| Type | Description |
|---|---|
| DashboardExportCompatibilityMode |
A DashboardExportCompatibilityMode enumeration value that specifies the compatibility mode used to export a dashboard/dashboard items.
|
Available values:
| Name | Description |
|---|---|
| Full |
Identifies the full export mode that uses GDI+ API to export a dashboard/dashboard item.
| | Restricted |
Identifies the restricted export mode that disables use of the GDI+ API to export a dashboard/dashboard item. For instance, this mode is used to fix issues related to exporting a dashboard/dashboard item displayed in the web application deployed in the cloud.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the CompatibilityMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
DashboardExportSettings.CompatibilityMode = DashboardExportCompatibilityMode.Restricted;
}
asp-net-core-dashboard-custom-item-tutorials/CS/AspNetCoreCustomItemTutorials/Startup.cs#L20
FileProvider = hostingEnvironment.ContentRootFileProvider;
DashboardExportSettings.CompatibilityMode = DashboardExportCompatibilityMode.Restricted;
}
asp-net-core-dashboard-restricted-controller/CS/AspNetCoreCustomDashboardController/Startup.cs#L20
FileProvider = hostingEnvironment.ContentRootFileProvider;
DashboardExportSettings.CompatibilityMode = DashboardExportCompatibilityMode.Restricted;
}
asp-net-core-dashboard-custom-item-gallery/CS/AspNetCoreCustomItem/Startup.cs#L24
FileProvider = hostingEnvironment.ContentRootFileProvider;
DashboardExportSettings.CompatibilityMode = DashboardExportCompatibilityMode.Restricted;
}
asp-net-core-dashboard-export-all-items/CS/AspNetCoreDashboard_ExportAllItems/Startup.cs#L21
FileProvider = hostingEnvironment.ContentRootFileProvider;
DashboardExportSettings.CompatibilityMode = DashboardExportCompatibilityMode.Restricted;
}
See Also