Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetRectangleFromAnchorPoints Method
The drawing object


In This Topic
    GetRectangleFromAnchorPoints Method
    In This Topic
    Get the boundary of the DrawingObject
    Syntax
    'Declaration
     
    
    Public Function GetRectangleFromAnchorPoints( _
       ByVal graphics As WindowsGraphics, _
       ByVal shape As DrawingObject, _
       ByVal displayFormula As Boolean, _
       Optional ByVal getOriginBounds As Boolean, _
       Optional ByVal zoomFactor As Double _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim graphics As WindowsGraphics
    Dim shape As DrawingObject
    Dim displayFormula As Boolean
    Dim getOriginBounds As Boolean
    Dim zoomFactor As Double
    Dim value As Rectangle
     
    value = instance.GetRectangleFromAnchorPoints(graphics, shape, displayFormula, getOriginBounds, zoomFactor)
    public Rectangle GetRectangleFromAnchorPoints( 
       WindowsGraphics graphics,
       DrawingObject shape,
       bool displayFormula,
       bool getOriginBounds,
       double zoomFactor
    )

    Parameters

    graphics
    shape
    The drawing object
    displayFormula
    getOriginBounds
    zoomFactor
    See Also