Software Developer's Kit - ChemDraw

Send comments on this topic
ChainAngle Property
See Also 

Description

Member of ChemDraw Control.Settings

Sets and returns the default chain angle

Property type

Read-write property

Syntax

Visual Basic
Public Property ChainAngle() As Integer

Return Type

Integer

Remarks

The chain angle is expressed in degrees.

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() 
    'Sets the Settings.ChainAngle
     vObject.Settings.ChainAngle = Text1.text 

    'Displays all the settings
     Label1.Caption = “Settings Display” + chr$(13) + _ 
                       vObject.Settings.ChainAngle 
 End Sub

See Also