Software Developer's Kit - ChemDraw

Send comments on this topic
MakeArrow Method
See Also 

Description

Member of ChemDraw Control.Document.

Creates a new arrow in the document

Syntax

Visual Basic
Public Function MakeArrow() As Arrow

Return Type

Example

'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
     ctlChemDraw.SetFocus
     myArrow.selected = True
 End Sub

See Also