Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / TableRenderer Class / AddCell Method / AddCell(CellStyle,Int32,Int32,Int32,Int32,Object) Method
The style of the cell, or a null reference (Nothing in Visual Basic) to use the default style.
Index of top row in the cell.
Index of left column in the cell.
The number of rows covered by a cell.
The number of columns covered by a cell.
A data object or string to be displayed in the cell.

In This Topic
    AddCell(CellStyle,Int32,Int32,Int32,Int32,Object) Method
    In This Topic
    Creates a table cell with given style and a new GrapeCity.Documents.Text.TextLayout inside.
    Syntax
    'Declaration
     
    Public Overloads Function AddCell( _
       ByVal cellStyle As CellStyle, _
       ByVal rowIndex As System.Integer, _
       ByVal columnIndex As System.Integer, _
       ByVal rowSpan As System.Integer, _
       ByVal columnSpan As System.Integer, _
       ByVal data As System.Object _
    ) As TableCell
    public TableCell AddCell( 
       CellStyle cellStyle,
       System.int rowIndex,
       System.int columnIndex,
       System.int rowSpan,
       System.int columnSpan,
       System.object data
    )

    Parameters

    cellStyle
    The style of the cell, or a null reference (Nothing in Visual Basic) to use the default style.
    rowIndex
    Index of top row in the cell.
    columnIndex
    Index of left column in the cell.
    rowSpan
    The number of rows covered by a cell.
    columnSpan
    The number of columns covered by a cell.
    data
    A data object or string to be displayed in the cell.

    Return Value

    A TableCell object.
    See Also