## ToggleButtonActiveXControl::SetValue method


Indicates if the control is checked or not.

```cpp
void Aspose::Cells::Drawing::ActiveXControls::ToggleButtonActiveXControl::SetValue(CheckValueType value)
```


## Examples


```cpp
if (activeXControl.GetValue() == CheckValueType::UnChecked)
{
    activeXControl.SetValue(CheckValueType::Checked);
}
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [CheckValueType](../../../aspose.cells.drawing/checkvaluetype/)
* Class [ToggleButtonActiveXControl](../)
* Namespace [Aspose::Cells::Drawing::ActiveXControls](../../)
* Library [Aspose.Cells for C++](../../../)
