## Shape::GetActiveXControl method


Gets the ActiveX control.

```cpp
ActiveXControl Aspose::Cells::Drawing::Shape::GetActiveXControl()
```


## Examples


```cpp
if(!shape.GetActiveXControl().IsNull())
{
    CheckBoxActiveXControl checkBox1 = (CheckBoxActiveXControl)shape.GetActiveXControl();
    //The font name of CheckBox
    U16String fontName = checkBox1.GetFont().GetName();
}
```

## See Also

* Class [ActiveXControl](../../../aspose.cells.drawing.activexcontrols/activexcontrol/)
* Class [Shape](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
