ShapeActionsCommand Constructor(Worksheet,Double,Double,Double,Double,AutoShapeType,ArrowheadStyle,ArrowheadStyle)
In This Topic
Initializes a new instance of the
ShapeActionsCommand class for creatation shape action.
Syntax
'Declaration
Public Function New( _
ByVal As Worksheet, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
Optional ByVal As AutoShapeType, _
Optional ByVal As ArrowheadStyle, _
Optional ByVal As ArrowheadStyle _
)
'Usage
Dim worksheet As Worksheet
Dim x As Double
Dim y As Double
Dim width As Double
Dim height As Double
Dim type As AutoShapeType
Dim beginArrowheadStyle As ArrowheadStyle
Dim endArrowheadStyle As ArrowheadStyle
Dim instance As New ShapeActionsCommand(worksheet, x, y, width, height, type, beginArrowheadStyle, endArrowheadStyle)
Parameters
- worksheet
- x
- The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
- y
- The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
- width
- The initial width, in pixels, of the shape. Or the horizontal position (in pixels) of the connector's end point relative to the upper-left corner of the document.
- height
- The initial height, in pixels, of the shape. Or the vertical position (in pixels) of the connector's end point relative to the upper-left corner of the document.
- type
- The GrapeCity.Spreadsheet.Drawing.AutoShapeType of shape
- beginArrowheadStyle
- The GrapeCity.Drawing.ArrowheadStyle at the beginning of the specified connector.
- endArrowheadStyle
- The GrapeCity.Drawing.ArrowheadStyle at the ending of the specified connector.
See Also