Software Developer's Kit - ChemDraw

Send comments on this topic
ArrowHeadPositionTail Property
See Also 

Description

Member of ChemDraw Control.Arrow

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

Property type

Read-write property

Syntax

Visual Basic
Public Property ArrowHeadPositionTail() As CDArrowHeadPositionType

Return Type

Remarks

ArrowHeadPositionTail can take the following values for the head at the tail (left of the diagram) of the arrow:

kCDArrowHeadPositionFull              
kCDArrowHeadPositionHalfRight      
kCDArrowHeadPositionHalfLeft        
kCDArrowHeadPositionNone            
kCDArrowHeadPositionUnspecified   

 

In the diagram the tail of the arrow is to the left and the arrows have been drawn with ArrowHeadPositionStart = kCDArrowHeadPositionFull.

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 cmdArrowHeadPositionTail_click()
    'Example 1: Sets the Arrow Head at the tail of the arrow as a full head
     vArrow.ArrowHeadPositionTail = kCDArrowHeadPositionFull
    'Example 2: Sets the Arrow Head at the tail of the arrow as a half head to the left
    
vArrow.ArrowHeadPositionTail = kCDArrowHeadPositionHalfLeft
 End Sub

See Also