Software Developer's Kit - ChemDraw

Send comments on this topic
Size Property
See Also 

Description

Member of ChemDraw Control.Style.

Sets and returns the size associated with this style.

Property type

Read-write property

Syntax

Visual Basic
Public Property Size() As Double

Return Type

Double

Remarks

Returns the size associated with this style, in points

Example

'Declares a variable Style
 Dim vStyle As ChemDrawControl10Ctl.Style 

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

See Also