GetRectangle(WindowsGraphics,DrawingObject,Double,Double,Boolean) Method
In This Topic
Gets the shape's rectangle at 0 degrees and affected by zoom scale.
Syntax
'Declaration
Public Overloads Function GetRectangle( _
ByVal As WindowsGraphics, _
ByVal As DrawingObject, _
ByVal As Double, _
ByVal As Double, _
ByVal As Boolean _
) As Rectangle
'Usage
Dim instance As WorksheetDrawing
Dim graphics As WindowsGraphics
Dim shape As DrawingObject
Dim scaleX As Double
Dim scaleY As Double
Dim getOriginBounds As Boolean
Dim value As Rectangle
value = instance.GetRectangle(graphics, shape, scaleX, scaleY, getOriginBounds)
public Rectangle GetRectangle(
WindowsGraphics ,
DrawingObject ,
double ,
double ,
bool
)
Parameters
- graphics
- shape
- The drawing object.
- scaleX
- The horizontal scale unit.
- scaleY
- The vertical scale unit.
- getOriginBounds
See Also