xlschartscollection-ag凯发旗舰厅
com.spire.xls.core.spreadsheet.collections
class xlschartscollection
java.lang.object
com.spire.ms.system.collections.collectionbase
com.spire.xls.core.spreadsheet.collections.xlschartscollection
- all implemented interfaces:
- com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, icharts, java.lang.iterable
- direct known subclasses:
- chartscollection
public class xlschartscollection
- extends
- implements icharts
method summary |
ichart |
add()
creates a new chart. |
ichart |
add(java.lang.string name)
defines a new name. |
ichart |
get(java.lang.string name)
returns a single chart object from a charts collection. |
ichart |
remove(java.lang.string name)
removes chart object from the collection. |
xlschartscollection
public xlschartscollection(java.lang.object parent)
get
public ichart get(java.lang.string name)
- returns a single chart object from a charts collection.
- specified by:
get
in interface icharts
add
public ichart add()
- creates a new chart.
- specified by:
add
in interface icharts
- returns:
- newly created chart object.
add
public ichart add(java.lang.string name)
- defines a new name.
- specified by:
add
in interface icharts
- parameters:
name
- name of the new chart's sheet.
- returns:
- newly created chart object.
remove
public ichart remove(java.lang.string name)
- removes chart object from the collection.
- specified by:
remove
in interface icharts
- parameters:
name
- name of the object to remove from the collection.