Software Developer's Kit - ChemDraw

Send comments on this topic
IsBold Property
See Also 


Member of ChemDraw Control.Spline.

Sets and returns whether the spline arrow head is bold or not.

Property type

Read-write property


Visual Basic
Public Property IsBold() As Boolean

Return Type



This property returns True when CDLineType = kCDLineTypeBold  

Otherwise, returns False.


'Declares variable vSpline
 Dim vSpline As ChemDrawControl10Ctl.Spline
'Checks that there is a Spline loaded in the variable 

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

 Private Sub ctlChemDraw_SelectionChanged(ByVal selection _
         As ChemDrawControl10Ctl.IChemDrawSelection)
     If  selection.Splines.Count = 1 Then
         Set MySpline = ctlChemDraw.selection.Objects.Splines.Item(1)
         Label1.Caption = "Object: Spline"
     End If
 End Sub
 Private Sub cmdIsBold_Click()
     If  vSpline.IsBold = Fase Then
         vSpline.IsBold = True
         vSpline.IsBold = False
     End If
 End Sub

See Also