This example adds two rectangles to myDocument and connects them with a curved connector. Therefore, if you are going to attach a connector to other shapes, the position and dimensions you specify when adding the connector are irrelevant. When you attach a connector to a shape, the size and position of the connector are automatically adjusted, if necessary. The vertical position, measured in points, of the connector's ending point relative to the top edge of the slide. The horizontal position, measured in points, of the connector's ending point relative to the left edge of the slide. The vertical position, measured in points, of the connector's starting point relative to the top edge of the slide. The horizontal position, measured in points, of the connector's starting point relative to the left edge of the slide. AddConnector ( Type, BeginX, BeginY, EndX, EndY)Įxpression A variable that represents a Shapes object. Use the BeginConnect and EndConnect methods to attach the beginning and end of a connector to other shapes in the document. When a connector is added, it is not connected to anything. Returns a Shape object that represents the new connector.