ConnectDot Object

Object for storing coordinates of a connection point. Connection Points are associated with an object. They indicate locations in which other objects can be glued to it. An instance of this object can be retrieved from the Shape object.

Properties

Name Description
X

The X-coordinate of the connection point in the coordinate system of the shape to which it belongs.

Y The Y-coordinate of the connection point in the coordinate system of the shape to which it belongs.

 

Example

Dim MyConnectDot as ConnectDot, MyShape As Shape
MyShape = thisDoc.ActivePage.DrawRect(50,50,500,500) ' Create Shape object
MyConnectDot = MyShape.AddConnectDot()
MyConnectDot.X = 100
MyConnectDot.Y = 50
MyShape.PropertyChanged(CDPT_CONNECT_X)
MyShape.PropertyChanged(CDPT_CONNECT_Y)

 

See Also

Shape object