Software Developer's Kit - ChemDraw

Send comments on this topic
DeleteColumn Method
See Also 
columnNum
This number indicates the position of the column that will be deleted.

Description

Member of ChemDraw Control.Table.

Deletes the column of the table at the specified position.

Syntax

Visual Basic
Public Sub DeleteColumn( _
   ByVal columnNum As Long _
) 

Parameters

columnNum
This number indicates the position of the column that will be deleted.

Return Type

Long

Remarks

Deletes a column from 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 cmdDelColumn_Click()
     vTable.DeleteColumn 1
 End Sub

See Also