Software Developer's Kit - ChemDraw

Send comments on this topic
ArrowHeadType Property
See Also 

Description

Member of ChemDraw Control.Arrow

Sets and returns the type of arrow head for this arrow

Property type

Read-write property

Syntax

Visual Basic
Public Property ArrowHeadType() As CDArrowHeadType

Return Type

Remarks

The available arrow head types are (applicable only for arrows with arrowheads):
kCDArrowHeadTypeHollow          
kCDArrowHeadTypeSolid            
kCDArrowHeadTypeAngle           
kCDArrowHeadTypeUnspecified   

This property applies to one head (tail or start) or to both if both are present.

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 cmdArrowHeadType_click()
    'Example 1: Sets the arrow head as a solid head
     vArrow.ArrowHeadType = kCDArrowHeadTypeSolid

    'Example 2: Sets the arrow head as a hollow head
    
vArrow.ArrowHeadType = kCDArrowHeadTypeHollow

 End Sub

See Also