Software Developer's Kit - ChemDraw

Send comments on this topic
MakeTLCPlate Method
See Also 


Member of ChemDraw Control.Cell.

Creates a new TLCPlate in this cell.


Visual Basic
Public Function MakeTLCPlate() As TLCPlate

Return Type


'Declares variables
 Dim myTable As ChemDrawControl11Ctl.Table
 Set myCell = ctlChemDraw.Selection.Objects.Cell

 Private Sub cmdCommand_Click()
    'Checks that there is a Table loaded in the variable
     If  Selection.Tables.Count < 1 Then
         Exit Sub
     End If
     Set myCell = myTable.Cells.Item(1)
    'creates an object within the cell
     Set MyTLCPlate = myCell.MakeTLCPlate
     myTLCPlate.selected = True
 End Sub

See Also