Search
Table.CellRowSpan Property
See Also
 



Gets or sets how many rows a cell should span.

 Syntax

VB6  Copy Code

Public Property Get CellRowSpan( _
    ByVal col As Long, _
    ByVal row As Long _
) As Integer
Public Property Let CellRowSpan( _
    ByVal col As Long, _
    ByVal row As Long, _
    ByVal value As Integer _
)

C++  Copy Code

public:
short get_CellRowSpan (
    int col,
    int row
)
void put_CellRowSpan (
    int col,
    int row,
    short value
)

 Parameters

col
The 0-based index of the cell's column.
row
The 0-based index of the cell's row.

 Property Value

A short value. The default is 1.

 Remarks

This is an indexed property having the cell column as the first index and the cell row as the second index. This value specifies how many rows the cell spans downwards. Use this property and CellColumnSpan to define a cell that spans several columns and rows of the table's grid. The spanning cell covers any non-spanning cells to the right or below it, as far as the spanned columns and rows go. The image and text displayed in spanning cells are aligned and laid out inside the enlarged bounding rectangles of the cells. That allows composing nodes with a very elaborate structure using spanning cells, as alternative to attaching Box objects to a container/master node.

 See Also