Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Outline Class / GetNextBlock Method
The access key of the previous block.
The start index of the block.
The end index of the block.
The group level of the block.
if set to true, the corresponding group is collapsed; otherwise, false.


In This Topic
    GetNextBlock Method
    In This Topic
    Gets the next block of the specified access key in the outline.
    Syntax
    'Declaration
     
    
    Public Function GetNextBlock( _
       ByVal key As Integer, _
       ByRef blockIndex As Integer, _
       ByRef blockIndex2 As Integer, _
       ByRef level As Integer, _
       ByRef collapsed As Boolean _
    ) As Integer
    'Usage
     
    
    Dim instance As Outline
    Dim key As Integer
    Dim blockIndex As Integer
    Dim blockIndex2 As Integer
    Dim level As Integer
    Dim collapsed As Boolean
    Dim value As Integer
     
    value = instance.GetNextBlock(key, blockIndex, blockIndex2, level, collapsed)
    public int GetNextBlock( 
       int key,
       out int blockIndex,
       out int blockIndex2,
       out int level,
       out bool collapsed
    )

    Parameters

    key
    The access key of the previous block.
    blockIndex
    The start index of the block.
    blockIndex2
    The end index of the block.
    level
    The group level of the block.
    collapsed
    if set to true, the corresponding group is collapsed; otherwise, false.

    Return Value

    An integer value represents the access key of the current block. System.Int32.MaxValue if there is no more block after.
    See Also