GrapeCity.Excel Namespace > ExcelWorksheet Class : AddChart Method |
'Declaration Public Function AddChart( _ ByVal chartType As ExcelChartType, _ ByVal chartName As String, _ ByVal fromRow As Integer, _ ByVal fromColumn As Integer, _ ByVal toRow As Integer, _ ByVal toColumn As Integer _ ) As IExcelChart
'Usage Dim instance As ExcelWorksheet Dim chartType As ExcelChartType Dim chartName As String Dim fromRow As Integer Dim fromColumn As Integer Dim toRow As Integer Dim toColumn As Integer Dim value As IExcelChart value = instance.AddChart(chartType, chartName, fromRow, fromColumn, toRow, toColumn)
public IExcelChart AddChart( ExcelChartType chartType, string chartName, int fromRow, int fromColumn, int toRow, int toColumn )
Exception | Description |
---|---|
System.NotSupportedException | The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. |
System.ArgumentOutOfRangeException | fromRow |
Target Platforms: Windows Server 2012, Windows RT