Software Developer's Kit - ChemDraw

Send comments on this topic
ExpandLabelToStructure Method
See Also 

Description

Member of ChemDraw Control.Atom

Expands the atom label to explicitly show the structure of the atom 

Syntax

Visual Basic
Public Sub ExpandLabelToStructure() 

Return Type

None

Remarks


This function expands the atom label to explicitly show the structure of the atom.

The example in the diagram shows:

1. COOH was entered.

2. Then, when the Atom.ExpandLabelToStructure property was applied,
    the drawing of the structure appears.

Example

'Declares variables
 Dim myAtom As ChemDrawControl10Ctl.Atom
'Checks that there is an atom loaded in the variable
 If  Selection.Atoms.Count < 1 Then
     Exit Sub
 End If
'Expands atom label to structure 
 Private sub cmdExpandLabelToStructure_click()
     myAtom.ExpandLabelToStructure
 End Sub

See Also