Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / ShapeActionsCommand Constructor / ShapeActionsCommand Constructor(Shape,String,Actions)
The shape to set new text.
The new text of shape.


In This Topic
    ShapeActionsCommand Constructor(Shape,String,Actions)
    In This Topic
    Initializes a new instance of the ShapeActionsCommand class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal shape As Shape, _
       ByVal text As String, _
       ByVal action As ShapeActionsCommand.Actions _
    )
    'Usage
     
    
    Dim shape As Shape
    Dim text As String
    Dim action As ShapeActionsCommand.Actions
     
    Dim instance As New ShapeActionsCommand(shape, text, action)
    public ShapeActionsCommand( 
       Shape shape,
       string text,
       ShapeActionsCommand.Actions action
    )

    Parameters

    shape
    The shape to set new text.
    text
    The new text of shape.
    action
    See Also