Software Developer's Kit - ChemDraw

Send comments on this topic
AddColumn Method
See Also 
newColumnNum
This number indicates the position where the new column will be added.

Description

Member of ChemDraw Control.Table.

Adds a new column to the table at the specified position.

Syntax

Visual Basic
Public Sub AddColumn( _
   ByVal newColumnNum As Long _
) 

Parameters

newColumnNum
This number indicates the position where the new column will be added.

Return Type

Long

Remarks

Adds a column to this table.

Example

'Declares variable vTable
 Dim vTable As ChemDrawControl10Ctl.Table
'Checks that there is a Table loaded in the variable
 If  Selection.Tables.Count < 1 Then
     Exit Sub
 End If

 Private Sub cmdCommand_Click()
     vTable.AddColumn 1
 End Sub

See Also