Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / AddShape Method / AddShape(IWorksheet,IShape) Method
The shape to add


In This Topic
    AddShape(IWorksheet,IShape) Method
    In This Topic
    Creates a command that adds a new shape.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function AddShape( _
       ByVal worksheet As IWorksheet, _
       ByVal shape As IShape _
    ) As ShapeActionsCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim shape As IShape
    Dim value As ShapeActionsCommand
     
    value = ShapeActionsCommand.AddShape(worksheet, shape)
    public static ShapeActionsCommand AddShape( 
       IWorksheet worksheet,
       IShape shape
    )

    Parameters

    worksheet
    shape
    The shape to add
    See Also