InsertColumn Method (ITable)

InsertColumn Method (ITable) | Send Feedback
See Also

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

Index
  Index where to insert the column

Width
  Width of the column

Inserts a column of the specified width at the specified index in the Table.

# Syntax

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

C# |
--- | ---
    System.bool InsertColumn(
       System.int Index,
       System.double Width
    )

JavaScript |
--- | ---
    InsertColumn(
       Index : Number,
       Width : Number
    ) : Boolean

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

C++ |
--- | ---
    DSRESULT InsertColumn(
       long Index,
       double Width,
       bool* Retval
    )

#### Parameters

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

# Remarks

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

# See Also

####

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

# Availability

DraftSight V1R4.0