class
ScenarioCollection
Source: aspose.
Represents the list of scenarios.
Methods
add(name) → Number
Adds a scenario.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
name |
String |
|
The name of scenario. |
- Returns
-
Number
The index in the list of scenarios.
add()
Reserved for internal use.
clear()
contains()
Reserved for internal use.
get(index) → Scenario
Gets the Scenario object by the index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
The specific index in the list. |
- Returns
get()
Reserved for internal use.
getActiveIndex()
Gets and sets which scenario is selected.
getCount()
getLastSelected()
Indicates which scenario was last selected by the user to be run/shown.
indexOf()
Reserved for internal use.
iterator()
removeAt()
setActiveIndex()
Gets and sets which scenario is selected.
setLastSelected()
Indicates which scenario was last selected by the user to be run/shown.