AppearanceImageHelper Class
In This Article
Helps to generate series view-specific images the Chart Designer uses.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
#Remarks
The AppearanceImageHelper.CreateImage methods allow you to create images as in the Appearance Palette below:
#Example
This example demonstrates how to create preview images like the following:
Image image = AppearanceImageHelper.CreateImage(
ViewType.ManhattanBar,
chartControl.AppearanceRepository["Light"],
chartControl.PaletteRepository["Office"],
0);
The code listed above uses the following API members:
Member | Description |
---|---|
Appearance |
Helps to generate series view-specific images the Chart Designer uses. |
Appearance |
Creates the specified series view type’s image. |
Chart |
Returns the chart appearance repository. |
Chart |
Returns the chart palette repository. |
Note
If necessary, use the Chart
See Also