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

Creates the specified series view type's image.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

public static Image CreateImage(
    ViewType viewType,
    ChartAppearance appearance,
    Palette palette,
    int colorIndex,
    Bar3DModel model
)
Public Shared Function CreateImage(
    viewType As ViewType,
    appearance As ChartAppearance,
    palette As Palette,
    colorIndex As Integer,
    model As Bar3DModel
) 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.

model Bar3DModel

The model that the 3D bar view uses. The viewType parameter should be ViewType.Bar3D.

Returns

Type Description
Image

The image that shows the specified chart appearance.

See Also