[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.HasChart

HasChart Property

HasChart

Returns information if the IShape contains a chart.

Use this property to determine whether Chart can be used to access a chart contained in the shape.

Declaration
bool HasChart { get; }
ReadOnly Property HasChart As Boolean
Examples
IShape shape = worksheet.Shapes.AddChart(ChartType.Line, 20, 20, 240, 160);
bool hasChart = shape.HasChart;