Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / TableRenderer Class / AddCell Method / AddCell(CellStyle,Int32,Int32,Int32,Int32) 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.

In This Topic
    AddCell(CellStyle,Int32,Int32,Int32,Int32) Method
    In This Topic
    Creates an empty table cell with given style at the specified position.
    Syntax
    'Declaration
     
    Public Overloads Function AddCell( _
       ByVal cellStyle As CellStyle, _
       ByVal rowIndex As System.Integer, _
       ByVal columnIndex As System.Integer, _
       Optional ByVal rowSpan As System.Integer, _
       Optional ByVal columnSpan As System.Integer _
    ) As TableCell
    public TableCell AddCell( 
       CellStyle cellStyle,
       System.int rowIndex,
       System.int columnIndex,
       System.int rowSpan,
       System.int columnSpan
    )

    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.

    Return Value

    A TableCell object.
    See Also