Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ChartActionsCommand Class / ChartActionsCommand Constructor
The worksheet which this chart attached to.
The chart object should be executed.
Name of sheet which chart should be place to.
Indicate that new sheet should be added or not.


In This Topic
    ChartActionsCommand Constructor
    In This Topic
    Initializes a new instance of the ChartActionsCommand with action is ChartActionsCommand.Actions.MoveChart.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal worksheet As IWorksheet, _
       ByVal chart As IChartObject, _
       ByVal targetSheet As String, _
       ByVal isNewSheet As Boolean _
    )
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim chart As IChartObject
    Dim targetSheet As String
    Dim isNewSheet As Boolean
     
    Dim instance As New ChartActionsCommand(worksheet, chart, targetSheet, isNewSheet)
    public ChartActionsCommand( 
       IWorksheet worksheet,
       IChartObject chart,
       string targetSheet,
       bool isNewSheet
    )

    Parameters

    worksheet
    The worksheet which this chart attached to.
    chart
    The chart object should be executed.
    targetSheet
    Name of sheet which chart should be place to.
    isNewSheet
    Indicate that new sheet should be added or not.
    See Also