Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / TableRenderer Class / AddCell Method / AddCell(CellStyle,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.
A data object or string to be displayed in the cell.

In This Topic
    AddCell(CellStyle,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 data As System.Object _
    ) As TableCell
    public TableCell AddCell( 
       CellStyle cellStyle,
       System.int rowIndex,
       System.int columnIndex,
       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.
    data
    A data object or string to be displayed in the cell.

    Return Value

    A TableCell object.
    See Also