Shape.ActiveXControl

Shape.ActiveXControl property

Gets the ActiveX control.

public ActiveXControl ActiveXControl { get; }

Examples


[C#]
if(shape.ActiveXControl != null)
{
    CheckBoxActiveXControl checkBox1 = (CheckBoxActiveXControl)shape.ActiveXControl;
    //The font name of CheckBox
    string fontName = checkBox1.Font.Name;
}

See Also