Software Developer's Kit - ChemDraw

Send comments on this topic
ArrowHeadPositionStart Property
See Also 

Description

Member of ChemDraw Control.Arrow

Sets and returns the style of arrowhead at the start of this arrow

Property type

Read-write property

Syntax

Visual Basic
Public Property ArrowHeadPositionStart() As CDArrowHeadPositionType

Return Type

Remarks

The available values for ArrowHeadPositionStart property are as follows:

kCDArrowHeadPositionFull              
kCDArrowHeadPositionHalfLeft        
kCDArrowHeadPositionHalfRight      
kCDArrowHeadPositionNone             
kCDArrowHeadPositionUnspecified   

Example

'Declares variable vArrow
 Dim vArrow 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 cmdArrowHeadPositionStart_click()
    'Example 1: Sets the Arrow Head at the start of the arrow as a full head
     vArrow.ArrowHeadPositionStart = kCDArrowHeadPositionFull
    'Example 2: Sets the Arrow Head at the start of the arrow as a half head to the right
     vArrow.ArrowHeadPositionStart = kCDArrowHeadPositionHalfRight
 End Sub

 

See Also