Description |
---|
Excerpt |
---|
Creates a copy of the specified chart and adds it to the current worksheet. This method allows you to add a chart from an external workbook to the worksheet, or to duplicate a chart within a single workbook. The properties and settings on the original chart will be preserved |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Creates a copy of the specified chart and adds it to the current worksheet. This method allows you to add a chart from an external workbook to the worksheet, or to duplicate a chart within a single workbook. The properties and settings on the original chart will be preserved{excerpt}
{signature:C#}
public void AddChart(Chart chart, Anchor cornerTopLeft)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub AddChart(ByVal chart As Chart, ByVal cornerTopLeft As Anchor)
|
Parameters |
---|
Param | chart | chart |
---|---|---|
The new Chart to add to the workbook. | ||
Param | ||
cornerTopLeft | cornerTopLeft | The location on the new worksheet to anchor the upper left corner of the chart.{signature}
{parameters}
{param:chart}The new Chart to add to the workbook.{param}
{param:cornerTopLeft}The location on the new worksheet to anchor the upper left corner of the chart.{param}
|