Spread WinForms 15
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 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 shape As DrawingObject
Dim displayFormula As Boolean
Dim getOriginBounds As Boolean
Dim zoomFactor As Double
Dim value As Rectangle
 
value = instance.GetRectangleFromAnchorPoints(shape, displayFormula, getOriginBounds, zoomFactor)

Parameters

shape
The drawing object
displayFormula
getOriginBounds
zoomFactor
See Also