Aspose::Cells::ScenarioCollection class
Contents
[
Hide
]ScenarioCollection class
Represents the list of scenarios.
class ScenarioCollection
Methods
| Method | Description |
|---|---|
| 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() const | Checks whether the implementation object is nullptr. |
| explicit operator bool() const | operator 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
| Field | Description |
|---|---|
| _impl | The implementation object. |
See Also
- Namespace Aspose::Cells
- Library Aspose.Cells for C++