Software Developer's Kit - ChemDraw

Send comments on this topic
AddRow Method
See Also 
newRowNum
This number indicates the position where the new row will be added.

Description

Member of ChemDraw Control.Table.

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

Syntax

Visual Basic
Public Sub AddRow( _
   ByVal newRowNum As Long _
) 

Parameters

newRowNum
This number indicates the position where the new row will be added.

Return Type

Long

Remarks

Adds a row 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 cmdAddRow_Click()
     vTable.AddRow 1
 End Sub

See Also