Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / CalculateRect Method / CalculateRect(DrawingObject,Rectangle,Boolean,Boolean) Method


In This Topic
    CalculateRect(DrawingObject,Rectangle,Boolean,Boolean) Method
    In This Topic
    Calculates the client rectangle of a child shape inside the specified rectangle.
    Syntax
    'Declaration
     
    
    Public Overloads Function CalculateRect( _
       ByVal childDrawingObj As DrawingObject, _
       ByVal rect As Rectangle, _
       ByVal skipFlip As Boolean, _
       Optional ByVal skipRotate As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As Shape
    Dim childDrawingObj As DrawingObject
    Dim rect As Rectangle
    Dim skipFlip As Boolean
    Dim skipRotate As Boolean
    Dim value As Rectangle
     
    value = instance.CalculateRect(childDrawingObj, rect, skipFlip, skipRotate)

    Parameters

    childDrawingObj
    rect
    skipFlip
    skipRotate
    See Also