Aspose::Cells::ScenarioCollection class

ScenarioCollection class

Represents the list of scenarios.

class ScenarioCollection

Methods

MethodDescription
Add(const U16String& name)Adds a scenario.
Add(const char16_t* name)Adds a scenario.
Get(int32_t index)Gets the Scenario object by the index.
GetActiveIndex()Gets and sets which scenario is selected.
GetCount()
GetLastSelected()Indicates which scenario was last selected by the user to be run/shown.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const ScenarioCollection& src)operator=
ScenarioCollection(ScenarioCollection_Impl* impl)Constructs from an implementation object.
ScenarioCollection(const ScenarioCollection& src)Copy constructor.
SetActiveIndex(int32_t value)Gets and sets which scenario is selected.
SetLastSelected(int32_t value)Indicates which scenario was last selected by the user to be run/shown.
~ScenarioCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also