Software Developer's Kit - ChemDraw

Send comments on this topic
MakeArrow Method
See Also 


Member of ChemDraw Control.Document.

Creates a new arrow in the document


Visual Basic
Public Function MakeArrow() As Arrow

Return Type


'Declares variables 
 Dim myDocument As ChemDrawControl11Ctl.Document 
 Dim myArrow As ChemDrawControl11Ctl.Arrow
 Private Sub cmdCommand_Click()
     Set MyArrow = myDocument.MakeArrow
     MyArrow.ArrowHeadPositionStart = kCDArrowHeadPositionFull
     MyArrow.HeadSize = 6
     MyArrow.HeadWidth = 3
     MyArrow.HeadCenterSize = 12
     myArrow.selected = True
 End Sub

See Also