Software Developer's Kit - ChemDraw

Send comments on this topic
Start Property
See Also 


Member of ChemDraw Control.Arrow

Sets and returns the start position of this arrow

Property type

Read-write property


Visual Basic
Public Property Start() As Point

Return Type


The start point of the arrow is the point where the head would normally be, opposite the End of the arrow. It is indicated by a point, expressed in CurCoords.


'Declares variable vArrow
 DimvArrow As ChemDrawControl10Ctl.Arrow
'Checks that there is an arrow loaded in the variable
 If  Selection.Arrows.Count < 1 Then
     Exit Sub
 End If
 Private Sub cmdStart_click()
'Reads the X & Y coordinates of the arrow´s Start point 
     Text1.text = vArrow.Start.X
     Text2.text = vArrow.Start.Y
    'Example to ASSIGN values to the X & Y coordinates of the arrow´s Start point 
     Dim myPoint As ChemDrawControl10Ctl.Point
     Set myPoint = vArrow.Start
     myPoint.X = 350
     myPoint.Y = 150
     vArrow.Start = myPoint
     Label1.Caption = "Start" + chr$(13) + _
            Format(vArrow.Start.X, "0.0") + " Start X" + Chr$(13) + _
            Format(vArrow.Start.Y, "0.0") + " Start Y" + Chr$(13)
 End Sub

See Also