InsertRow Method (ITable)

InsertRow Method (ITable) | Send Feedback
See Also

Retval[out]
  True if the row is inserted in the Table, false if not

Index
  Index where to insert the row

Height
  Height of the row

Inserts a row of the specified height at the specified index in the Table.

# Syntax

Visual Basic |
--- | ---
    Function InsertRow( _
       ByVal Index As System.Integer, _
       ByVal Height As System.Double _
    ) As System.Boolean

C# |
--- | ---
    System.bool InsertRow(
       System.int Index,
       System.double Height
    )

JavaScript |
--- | ---
    InsertRow(
       Index : Number,
       Height : Number
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT InsertRow(
       LONG Index,
       DOUBLE Height,
       VARIANT_BOOL* Retval
    )

C++ |
--- | ---
    DSRESULT InsertRow(
       long Index,
       double Height,
       bool* Retval
    )

#### Parameters

Index
  Index where to insert the row
Height
  Height of the row
Retval[out] or Return Value
  True if the row is inserted in the Table, false if not

# Remarks

Before calling this method, call ITable::TotalRowCount to determine a valid value for Index.

# See Also

####

ITable Interface
ITable Members
ITable::DeleteRow Method ()
ITable::DeleteColumn Method ()
ITable::InsertColumn Method ()

# Availability

DraftSight V1R4.0