GetResizeRectangle Method
In This Topic
Get the result boudary of the Drawing Object based on resize distance.
Syntax
'Declaration
Public Function GetResizeRectangle( _
ByVal As DrawingObject, _
ByVal As Rectangle, _
ByRef As ResizeAnchor, _
ByRef As Double, _
ByRef As Double, _
ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Double, _
Optional ByVal As Boolean _
) As Rectangle
'Usage
Dim instance As WorksheetDrawing
Dim drawingObject As DrawingObject
Dim rect As Rectangle
Dim resizeAnchor As ResizeAnchor
Dim resizeWidth As Double
Dim resizeHeight As Double
Dim inflate As Boolean
Dim preview As Boolean
Dim updateLocation As Boolean
Dim byScale As Boolean
Dim fitBound As Boolean
Dim zoomScale As Double
Dim applyDisplayFormulas As Boolean
Dim value As Rectangle
value = instance.GetResizeRectangle(drawingObject, rect, resizeAnchor, resizeWidth, resizeHeight, inflate, preview, updateLocation, byScale, fitBound, zoomScale, applyDisplayFormulas)
public Rectangle GetResizeRectangle(
DrawingObject ,
Rectangle ,
ref ResizeAnchor ,
ref double ,
ref double ,
bool ,
bool ,
bool ,
bool ,
bool ,
double ,
bool
)
Parameters
- drawingObject
- rect
- resizeAnchor
- resizeWidth
- resizeHeight
- inflate
- preview
- updateLocation
- byScale
- fitBound
- zoomScale
- applyDisplayFormulas
See Also