Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetResizeRectangle Method


In This Topic
    GetResizeRectangle Method
    In This Topic
    Get the result boudary of the Drawing Object based on resize distance.
    Syntax
    'Declaration
     
    
    Public Function GetResizeRectangle( _
       ByVal drawingObject As DrawingObject, _
       ByVal rect As Rectangle, _
       ByRef resizeAnchor As ResizeAnchor, _
       ByRef resizeWidth As Double, _
       ByRef resizeHeight As Double, _
       ByVal inflate As Boolean, _
       Optional ByVal preview As Boolean, _
       Optional ByVal updateLocation As Boolean, _
       Optional ByVal byScale As Boolean, _
       Optional ByVal fitBound As Boolean, _
       Optional ByVal zoomScale As Double, _
       Optional ByVal applyDisplayFormulas As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim drawingObject As DrawingObject
    Dim rect As Rectangle
    Dim resizeAnchor As ResizeAnchor
    Dim resizeWidth As Double
    Dim resizeHeight As Double
    Dim inflate As Boolean
    Dim preview As Boolean
    Dim updateLocation As Boolean
    Dim byScale As Boolean
    Dim fitBound As Boolean
    Dim zoomScale As Double
    Dim applyDisplayFormulas As Boolean
    Dim value As Rectangle
     
    value = instance.GetResizeRectangle(drawingObject, rect, resizeAnchor, resizeWidth, resizeHeight, inflate, preview, updateLocation, byScale, fitBound, zoomScale, applyDisplayFormulas)

    Parameters

    drawingObject
    rect
    resizeAnchor
    resizeWidth
    resizeHeight
    inflate
    preview
    updateLocation
    byScale
    fitBound
    zoomScale
    applyDisplayFormulas
    See Also