Aspose::Cells::Scenario class

Scenario class

Represents an individual scenario.

class Scenario

Methods

MethodDescription
GetComment()Gets and sets the comment of scenario.
GetInputCells()Gets the input cells of scenario.
GetName()Gets and sets the name of scenario.
GetUser()Gets name of user who last changed the scenario.
IsHidden()Indicates whether scenario is hidden.
IsLocked()Indicates whether scenario is locked for editing when the sheet is protected.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const Scenario& src)operator=
Scenario(Scenario_Impl* impl)Constructs from an implementation object.
Scenario(const Scenario& src)Copy constructor.
SetComment(const U16String& value)Gets and sets the comment of scenario.
SetComment(const char16_t* value)Gets and sets the comment of scenario.
SetIsHidden(bool value)Indicates whether scenario is hidden.
SetIsLocked(bool value)Indicates whether scenario is locked for editing when the sheet is protected.
SetName(const U16String& value)Gets and sets the name of scenario.
SetName(const char16_t* value)Gets and sets the name of scenario.
~Scenario()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also