Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetRectangle Method / GetRectangle(DrawingObject,Double,Double,Boolean) Method
The drawing object.
The horizontal scale unit.
The vertical scale unit.


In This Topic
    GetRectangle(DrawingObject,Double,Double,Boolean) Method
    In This Topic
    Gets the shape's rectangle at 0 degrees and affected by zoom scale.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetRectangle( _
       ByVal shape As DrawingObject, _
       ByVal scaleX As Double, _
       ByVal scaleY As Double, _
       ByVal getOriginBounds As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim shape As DrawingObject
    Dim scaleX As Double
    Dim scaleY As Double
    Dim getOriginBounds As Boolean
    Dim value As Rectangle
     
    value = instance.GetRectangle(shape, scaleX, scaleY, getOriginBounds)

    Parameters

    shape
    The drawing object.
    scaleX
    The horizontal scale unit.
    scaleY
    The vertical scale unit.
    getOriginBounds
    See Also