Software Developer's Kit - ChemDraw

Send comments on this topic
Size Property
See Also 

Description

Member of ChemDraw Control.Caption.

Sets and returns the size of this caption expressed in points 

Property type

Read-write property

Syntax

Visual Basic
Public Property Size() As Double

Return Type

Double

Remarks

This property returns and sets the size of the caption, expressed in points. Another way to set the caption size is to use Settings.CaptionSize.

Example

'Declares a variable Caption
 Dim vCaption As ChemDrawControl10Ctl.Caption 

'This example reads & writes data  
 Private Sub cmdCommand_Click()
     Set vCaption = ctlChemDraw.Captions.Item(1)
     Text1.text = vCaption.Size 
     vCaption.Size = 20
 End Sub

See Also