MergeCells Method (ITable)

MergeCells Method (ITable) | Send Feedback
See Also

MinRow
  Minimum index of the row of cells to merge

MaxRow
  Maximum index of the row of cells to merge

MinColumn
  Minimum index of the column of cells to merge

MaxColumn
  Maximum index of the column of cells to merge

Merges the specified rectangular region of cells in this Table.

# Syntax

Visual Basic |
--- | ---
    Sub MergeCells( _
       ByVal MinRow As System.Integer, _
       ByVal MaxRow As System.Integer, _
       ByVal MinColumn As System.Integer, _
       ByVal MaxColumn As System.Integer _
    )

C# |
--- | ---
    void MergeCells(
       System.int MinRow,
       System.int MaxRow,
       System.int MinColumn,
       System.int MaxColumn
    )

JavaScript |
--- | ---
    MergeCells(
       MinRow : Number,
       MaxRow : Number,
       MinColumn : Number,
       MaxColumn : Number
    )

COM native C++ |
--- | ---
    HRESULT MergeCells(
       LONG MinRow,
       LONG MaxRow,
       LONG MinColumn,
       LONG MaxColumn
    )

C++ |
--- | ---
    DSRESULT MergeCells(
       long MinRow,
       long MaxRow,
       long MinColumn,
       long MaxColumn
    )

#### Parameters

MinRow
  Minimum index of the row of cells to merge
MaxRow
  Maximum index of the row of cells to merge
MinColumn
  Minimum index of the column of cells to merge
MaxColumn
  Maximum index of the column of cells to merge

# Remarks

To determine a valid index for a row or column:

Get the total number of... | Using...
Rows | ITable::TotalRowCount
Columns | ITable::TotalColumnCount

# See Also

####

ITable Interface
ITable Members
ITable::UnmergeCells Method ()

# Availability

DraftSight V1R6.0