Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / TableRenderer Class / AddCell Method / AddCell(Int32,Int32,Int32,Int32,Object) Method
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(Int32,Int32,Int32,Int32,Object) Method
    In This Topic
    Creates a table cell with default style and a new GrapeCity.Documents.Text.TextLayout inside.
    Syntax
    'Declaration
     
    Public Overloads Function AddCell( _
       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( 
       System.int rowIndex,
       System.int columnIndex,
       System.int rowSpan,
       System.int columnSpan,
       System.object data
    )

    Parameters

    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