[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.DrawingPictureType

DrawingPictureType Enum

Specifies how pictures are displayed on a column or bar picture chart.

Use this enumeration with APIs such as PictureType and PictureType to control whether a picture stretches across a bar or is repeated along it.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum DrawingPictureType
Public Enum DrawingPictureType
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Item", "Value"},
    {"A", 2},
    {"B", 3}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
chart.SeriesCollection[0].PictureType = DrawingPictureType.Stack;

Fields

Name Description
Stack

Specifies that the picture is sized to repeat a maximum of 15 times in the longest stacked bar.

StackScale

Specifies that the picture is sized to a specified number of units and repeated the length of the bar.

Stretch

Specifies that the picture is stretched the full length of the stacked bar.