Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Outline Class / GetFirstBlock Method
The starting index.
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
    GetFirstBlock Method
    In This Topic
    Gets the first block of the outline.
    Syntax
    'Declaration
     
    
    Public Function GetFirstBlock( _
       ByVal index 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 index As Integer
    Dim blockIndex As Integer
    Dim blockIndex2 As Integer
    Dim level As Integer
    Dim collapsed As Boolean
    Dim value As Integer
     
    value = instance.GetFirstBlock(index, blockIndex, blockIndex2, level, collapsed)
    public int GetFirstBlock( 
       int index,
       out int blockIndex,
       out int blockIndex2,
       out int level,
       out bool collapsed
    )

    Parameters

    index
    The starting index.
    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