Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpreadTreeHelper Class / GetOutlineRectangle Method
The FpSpread control.
true to return the rectangle of row outline; otherwise, returns the rectangle of column outline.
An integer value indicates the level of corresponding level button. -1 to returns the whole oulline rectangle.


In This Topic
    GetOutlineRectangle Method
    In This Topic
    Gets the rectangle of an outline.
    Syntax
    'Declaration
     
    
    Public Shared Function GetOutlineRectangle( _
       ByVal spread As FpSpread, _
       ByVal isRowOutline As Boolean, _
       Optional ByVal level As Integer _
    ) As Rectangle
    'Usage
     
    
    Dim spread As FpSpread
    Dim isRowOutline As Boolean
    Dim level As Integer
    Dim value As Rectangle
     
    value = FpSpreadTreeHelper.GetOutlineRectangle(spread, isRowOutline, level)
    public static Rectangle GetOutlineRectangle( 
       FpSpread spread,
       bool isRowOutline,
       int level
    )

    Parameters

    spread
    The FpSpread control.
    isRowOutline
    true to return the rectangle of row outline; otherwise, returns the rectangle of column outline.
    level
    An integer value indicates the level of corresponding level button. -1 to returns the whole oulline rectangle.
    See Also