[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IScenario.Name

Name Property

Name

Gets or sets the scenario name.

The returned value is the scenario name used to identify the scenario in the worksheet.

Declaration
string Name { get; set; }
Property Name As String
Examples
worksheet.Range["B2:B3"].Value = new object[,] {{10}, {20}};
IScenario scenario = worksheet.Scenarios.Add("Sales Plan", worksheet.Range["B2:B3"], null);
scenario.Name = "Updated Sales Plan";
string name = scenario.Name;