Software Developer's Kit - ChemDraw

Send comments on this topic
LineHeight Property
See Also 

Description

Member of ChemDraw Control.Caption.

Returns the line height for this caption.

Property type

Read-write property

Syntax

Visual Basic
Public Property LineHeight() As Long

Return Type

Long

Remarks

This property returns and sets the height of the line of the caption. Another way to set it is using Settings.CaptionLineHeight.

Example

'Declares a variable Caption
 Dim myCaption As ChemDrawControl10Ctl.Caption 

'This example reads data from a caption 
 Private Sub cmdCommand_Click()
     Set myCaption = ctlChemDraw.Captions.Item(1)
     Text1.text = myCaption.LineHeight 
     myCaption.LineHeight = 20
 End Sub

See Also