Retrieve an ActiveX Control from a Shape Object to Modify Properties

Retrieve an ActiveX Control Programming Sample

Shape class offers getActiveXControl method which allows developers to retrieve an ActiveX control from a Visio shape object. Developers can cast an ActiveX control in the appropriate ActiveX control class, and then set its all available properties.