Aspose::Cells::Drawing::ActiveXControls::ToggleButtonActiveXControl::GetPicture method

ToggleButtonActiveXControl::GetPicture method

Gets and sets the data of the picture.

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

Examples

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