Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / SheetSpanModel Class / Add Method
The row index at which to start the span.
The column index at which to start the span.
The number of rows in the span.
The number of columns in the span.


In This Topic
    Add Method (SheetSpanModel)
    In This Topic
    Adds a cell span to the collection.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function Add( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As SheetSpanModel
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
    Dim value As Boolean
     
    value = instance.Add(row, column, rowCount, columnCount)
    public override bool Add( 
       int row,
       int column,
       int rowCount,
       int columnCount
    )

    Parameters

    row
    The row index at which to start the span.
    column
    The column index at which to start the span.
    rowCount
    The number of rows in the span.
    columnCount
    The number of columns in the span.

    Return Value

    true if the span is added successfully; otherwise, false.
    See Also