Software Developer's Kit - ChemDraw

Send comments on this topic
IsBold Property
See Also 

Description

Member of ChemDraw Control.Arrow

Sets and returns whether this arrow is bold.

Property type

Read-write property

Syntax

Visual Basic
Public Property IsBold() As Boolean

Return Type

Boolean

Remarks

This property returns True when CDLineType = kCDLineTypeBold  

Otherwise, returns False.

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 cmdBold_click()
   'Returns and sets a value of True or False for IsBold
    Text1.text = vArrow.IsBold

    vArrow.IsBold = TRUE
 End Sub

See Also