Software Developer's Kit - ChemDraw

Send comments on this topic
BoldWidth Property
See Also 

Description

Member of ChemDraw Control.Settings

Sets and returns the width of a bold or wedged bond

Property type

Read-write property

Syntax

Visual Basic
Public Property BoldWidth() As Double

Return Type

Double

Remarks

Bold width must be than the Line width setting. The end of a wedge is 1.5 times the bold width, which is expressed in points.

Example

'Declares variable vObject
 Dim vObject As ChemDrawControl10Ctl.Object
'Checks that there is an Object loaded the variable
 If  Selection.Object.Count < 1 Then
     Exit Sub
 End If
 Private Sub cmdSettings_click()
    'Reads & writes Settings.BoldWidth 
     vObject.Settings.BoldWidth = Text1.text

     Label1.Caption = “Settings Display” + chr$(13) + _
                       vObject.Settings.BoldWidth
 End Sub

See Also