[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPoint.PictureUnit

PictureUnit Property

PictureUnit

Gets or sets the unit for each picture on the point.

This property is used only when the picture type is set to StackScale. If the picture type is not StackScale, this property is ignored.

Declaration
double PictureUnit { get; set; }
Property PictureUnit As Double
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"Category", "Value"}, {"A", 10}, {"B", 20}, {"C", 30}};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IPoint point = chart.SeriesCollection[0].Points[1];
point.PictureType = DrawingPictureType.StackScale;
point.PictureUnit = 2.0;
double pictureUnit = point.PictureUnit;