Edit

Share via


SparklineGroups.Add(XlSparkType, String) Method

Definition

Creates a new sparkline group and returns a SparklineGroup object.

public:
 Microsoft::Office::Interop::Excel::SparklineGroup ^ Add(Microsoft::Office::Interop::Excel::XlSparkType Type, System::String ^ SourceData);
public Microsoft.Office.Interop.Excel.SparklineGroup Add (Microsoft.Office.Interop.Excel.XlSparkType Type, string SourceData);
Public Function Add (Type As XlSparkType, SourceData As String) As SparklineGroup

Parameters

Type
XlSparkType

The type of sparkline.

SourceData
String

Represents the range to use to create the sparkline.

Returns

Returns SparklineGroup.

Applies to