Class ChartsheetChartsCollection
Represents the chartsheet charts collection class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ChartsheetChartsCollection : SheetChartsCollection
Constructors
ChartsheetChartsCollection(Chartsheet)
Initializes a new ChartsheetChartsCollection for the supplied workbook data.
Declaration
public ChartsheetChartsCollection(Chartsheet chartsheet)
Parameters
| Type | Name | Description |
|---|---|---|
| Chartsheet | chartsheet |
Properties
Count
Reports the number of items currently held by ChartsheetChartsCollection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | The count returned by the operation. |
Methods
Add<TC>(int, string, SizeEmu)
Adds the supplied item to ChartsheetChartsCollection.
Declaration
public TC Add<TC>(int id, string name, SizeEmu size) where TC : SheetChart
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | |
| string | name | |
| SizeEmu | size |
Returns
| Type | Description |
|---|---|
| TC | The add returned by the operation. |
Type Parameters
| Name | Description |
|---|---|
| TC |
Get<TC>(string)
Retrieves the requested value from ChartsheetChartsCollection.
Declaration
public TC Get<TC>(string name) where TC : SheetChart
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name used by the operation. |
Returns
| Type | Description |
|---|---|
| TC | The get returned by the operation. |
Type Parameters
| Name | Description |
|---|---|
| TC |