AppearanceImageHelper.CreateImage(ViewType, ChartAppearance, Palette, Int32) Method

Creates the specified series view type's image.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public static Image CreateImage(
    ViewType viewType,
    ChartAppearance appearance,
    Palette palette,
    int colorIndex
)
Public Shared Function CreateImage(
    viewType As ViewType,
    appearance As ChartAppearance,
    palette As Palette,
    colorIndex As Integer
) As Image

Parameters

Name Type Description
viewType ViewType

The series view type that the helper uses to create the image.

appearance ChartAppearance

The chart appearance that the helper uses to create the image.

palette Palette

The palette that provides series colors.

colorIndex Int32

The color index in the palette. See ChartControl.PaletteBaseColorNumber for more information.

Returns

Type Description
Image

The image that shows the specified chart appearance.

See Also