Aspose::Cells::Drawing::Shape::GetActiveXControl method

Shape::GetActiveXControl method

Gets the ActiveX control.

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

Examples

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

See Also