Search
Table.CellColumnSpan Property
See Also
 



Gets or sets how many columns a cell should span.

 Syntax

VB6  Copy Code

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

C++  Copy Code

public:
short get_CellColumnSpan (
    int col,
    int row
)
void put_CellColumnSpan (
    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 columns the cell spans to the right. Use this property and CellRowSpan 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