Skip to main content

ChartImageUtils.GetViewImage(ViewType, ISvgPaletteProvider, Size) Method

Returns an image of the given size that depicts the series view with the specified palette.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public static Image GetViewImage(
    ViewType viewType,
    ISvgPaletteProvider provider,
    Size imageSize
)

Parameters

Name Type Description
viewType ViewType

The series view type shown in the resulting image.

provider DevExpress.Utils.Design.ISvgPaletteProvider

An ISvgPaletteProvider object that specifies colors used to paint vector images.

imageSize Size

The image size.

Returns

Type Description
Image

The resulting image.

See Also