Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpreadTreeHelper Class / GetRectangle Method / GetRectangle(FpSpread,Int32,Int32,DrawingObject,ResizeAnchor,Boolean) Method
The FpSpread control.
The viewport row index.
The viewport column index.
The drawing object.
A GrapeCity.Spreadsheet.Drawing.ResizeAnchor value indicates the resize anchor.


In This Topic
    GetRectangle(FpSpread,Int32,Int32,DrawingObject,ResizeAnchor,Boolean) Method
    In This Topic
    Gets the rectangle of the specified resize anchor.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetRectangle( _
       ByVal spread As FpSpread, _
       ByVal rowPane As Integer, _
       ByVal columnPane As Integer, _
       ByVal drawingObject As DrawingObject, _
       ByVal anchor As ResizeAnchor, _
       Optional ByVal getPaintingRect As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim spread As FpSpread
    Dim rowPane As Integer
    Dim columnPane As Integer
    Dim drawingObject As DrawingObject
    Dim anchor As ResizeAnchor
    Dim getPaintingRect As Boolean
    Dim value As Rectangle
     
    value = FpSpreadTreeHelper.GetRectangle(spread, rowPane, columnPane, drawingObject, anchor, getPaintingRect)

    Parameters

    spread
    The FpSpread control.
    rowPane
    The viewport row index.
    columnPane
    The viewport column index.
    drawingObject
    The drawing object.
    anchor
    A GrapeCity.Spreadsheet.Drawing.ResizeAnchor value indicates the resize anchor.
    getPaintingRect
    See Also