Software Developer's Kit - ChemDraw

Send comments on this topic
Formula Property
See Also 

Description

Member of ChemDrawControl.Objects.

Returns the formula of the objects

Property type

Read-only property

Syntax

Visual Basic
Public Property Formula() As String

Return Type

String

Example

'Formula 
 
Dim
myObjects as ChemDrawControl10Ctl.Objects  
 Private Sub cmdCommand_Click() 
     'returns the formula of the objects  
     Set MyObjects = ChemDrawControlCtl.Selection.Objects

     Text1.text = myObjects.Formula
 End Sub

See Also