Software Developer's Kit - ChemDraw

Send comments on this topic
LabelLineHeight Property
See Also 


Member of ChemDraw Control.Settings

Sets and returns the line height used for atom labels

Property type

Read-write property


Visual Basic
Public Property LabelLineHeight() As Double

Return Type



This property returns the height of the line of the atom in points. See also Caption.LineHeight.

In ActiveX Control Ver. 10.0, this property returns 0.


'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.LabelLineHeight
     vObject.Settings.LabelLineHeight = Text1.text 

    'Displays all the settings  
     Text2.text = vObject.Settings.LabelLineHeight   
    'If object is a caption: 
     Text3.text = vCaption.LineHeight
 End Sub 

See Also