You are creating an application that will be used to connect two two-dimensional (2-D) shapes by using a Dynamic Connector shape. In your application, you create an object named myVisioApp that references the Visio Application object. You need to add code to your application to connect the 2-D shapes. What code should you add?
A.
myVisioApp.Active P age.Shapes(1). Cells(PinX). GlueTo( myVisioApp.Active P age.Shapes(2) .Cells(PinX) )
B.
myVisioApp.Active P age. Shapes(1).Cells(BeginX).GlueTo
myVisioApp.ActivePage.Shapes(2).Cells(Connections.X1)
C.
myVisioApp.Active P age.Shapes(1).AutoConnect( myVisioApp.Active P age.Shapes(2), visAutoConnectDirNone)
D.
myVisioApp.Active P age.Shapes(1).AutoConnect( myVisioApp.Active P age.Shapes( 1 ) , visAutoConnectDirRight )