## ToggleButtonActiveXControl::GetPicture method


Gets and sets the data of the picture.

```cpp
Vector<uint8_t> Aspose::Cells::Drawing::ActiveXControls::ToggleButtonActiveXControl::GetPicture()
```


## Examples


```cpp
Vector<uint8_t> data{0};//Read an image to 'data'.e.g "image.png"(Note: You need to read the data into this variable.).
if (!activeXControl.GetPicture().IsNull())
{
    activeXControl.SetPicture(data);
}
```

## See Also

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