Skip to main content

ChartImageUtils.GetViewImage(SeriesViewBase, 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.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

public static Image GetViewImage(
    SeriesViewBase view,
    ISvgPaletteProvider provider,
    Size imageSize
)

#Parameters

Name Type Description
view SeriesViewBase

The series view to display.

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