XDyn Property

Gets or sets a Double value that represents the x-coordinate for a control handle's anchor point in local coordinates.

Applies to objects: ControlDot

Syntax

[Let] RetVal = object.XDyn

[Let] object.XDyn = SetVal

The XDyn property syntax has these parts:

Part Description
object A reference to an instance of the object.
RetVal A Double type variable.
SetVal A Double value.

Example

This example demonstrates using the XDyn property.

Dim MyControlDot as ControlDot, MyShape As Shape
' Create a Shape object
MyShape = thisDoc.ActivePage.DrawRect(50,50,500,500)
MyControlDot = MyShape.AddControlDot()
MyControlDot.X = 100 ' Set ControlDot to specified coordinates
MyControlDot.Y = 150
MyControlDot.XDyn = 110
MyControlDot.YDyn = 150
' Inform ConceptDraw engine about the changes
MyShape.PropertyChanged(CDPT_CONTROL_X)
MyShape.PropertyChanged(CDPT_CONTROL_Y)
MyShape.PropertyChanged(CDPT_CONTROL_XDYN)
MyShape.PropertyChanged(CDPT_CONTROL_YDYN)

 

See Also

ControlDot Object, YDyn Property, PropertyChanged Method