Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetPreviewResizeRectangle Method


In This Topic
    GetPreviewResizeRectangle Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Function GetPreviewResizeRectangle( _
       ByVal activeDrawingObject As DrawingObject, _
       ByVal drawingObject As DrawingObject, _
       ByVal drawingRect As Rectangle, _
       ByVal resizeAnchor As ResizeAnchor, _
       ByVal resizeRatio As Size, _
       ByVal inflate As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim activeDrawingObject As DrawingObject
    Dim drawingObject As DrawingObject
    Dim drawingRect As Rectangle
    Dim resizeAnchor As ResizeAnchor
    Dim resizeRatio As Size
    Dim inflate As Boolean
    Dim value As Rectangle
     
    value = instance.GetPreviewResizeRectangle(activeDrawingObject, drawingObject, drawingRect, resizeAnchor, resizeRatio, inflate)

    Parameters

    activeDrawingObject
    drawingObject
    drawingRect
    resizeAnchor
    resizeRatio
    inflate
    See Also