[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISparklineGroups.Count

Count Property

Count

Returns the number of sparkline groups in the associated IRange object.

Use this property to determine how many sparkline groups are contained in the range before accessing individual groups.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
IRange range = worksheet.Range["A1:A3"];
worksheet.Range["B1:B3"].Value = new object[] {1, 3, 2};
range.SparklineGroups.Add(SparkType.Line, "B1:B3");
int count = range.SparklineGroups.Count;