Moves the chart to a different worksheet. The method specifies whether the chart should be inserted as an object within the worksheet, or converted to a chart sheet. |
public void MoveChart(ChartLocation chartLocation, int sheetIndex, Anchor anchor) |
Public Sub MoveChart(ByVal chartLocation As ChartLocation, ByVal sheetIndex As Integer, ByVal anchor As Anchor) |
Chart.ChartLocation.ChartAsSheet or Chart.ChartLocation.ObjectInSheet. |
The 0-based index of the worksheet to move the chart to or the index of the chartsheet to insert. |
The postion of the top left corner of the chart in the worksheet. |