GetRectangleFromAnchorPoints Method
In This Topic
Get the boundary of the
DrawingObject
Syntax
'Declaration
Public Function GetRectangleFromAnchorPoints( _
ByVal As WindowsGraphics, _
ByVal As DrawingObject, _
ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal 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 ,
DrawingObject ,
bool ,
bool ,
double
)
Parameters
- graphics
- shape
- The drawing object
- displayFormula
- getOriginBounds
- zoomFactor
See Also