Software Developer's Kit - ChemDraw

Send comments on this topic
LineType Property
See Also 

Description

Member of ChemDraw Control.Arrow

Sets and returns the line type for this arrow

Property type

Read-write property

Syntax

Visual Basic
Public Property LineType() As CDLineType

Return Type

Remarks

The available line types are:

kCDLineTypeBold          
kCDLineTypeDashed     
kCDLineTypeSolid         
kCDLineTypeWavy        

Example

'Declares variable vArrow
 Dim vArrow AsChemDrawControl10Ctl.Arrow
'Checks that there is an arrow loaded in the variable

If Selection.Arrows.Count < 1 Then
     Exit Sub
 End If

 Private Sub >cmdLineType_click()
    'Example 1: Sets the Arrow Line Type as dashed
     vArrow.LineType = kCDLineTypeDashed
    'Example 2: Sets the Arrow Line Type as solid
     vArrow.LineType = kCDLineTypeSolid If
 End Sub

See Also