Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(Worksheet,Double,Double,Double,Double,AutoShapeType,ArrowheadStyle,ArrowheadStyle)
The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
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.
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.
The GrapeCity.Spreadsheet.Drawing.AutoShapeType of shape
The GrapeCity.Drawing.ArrowheadStyle at the beginning of the specified connector.
The GrapeCity.Drawing.ArrowheadStyle at the ending of the specified connector.


In This Topic
    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 worksheet As Worksheet, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double, _
       Optional ByVal type As AutoShapeType, _
       Optional ByVal beginArrowheadStyle As ArrowheadStyle, _
       Optional ByVal endArrowheadStyle 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