[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISparkline.Location

Location Property

Location

Gets or sets the location of a single sparkline.

Returns the IRange object that represents the cell where the sparkline is displayed.

Declaration
IRange Location { get; set; }
Property Location As IRange
Examples
worksheet.Range["A1:B2"].Value = new object[,] {
    {10, 20},
    {30, 40}
};
ISparkline sparkline = worksheet.Range["D1"].SparklineGroups.Add(SparkType.Line, "A1:B1")[0];
IRange location = sparkline.Location;