chartscollection-ag凯发旗舰厅



com.spire.xls.collections
class chartscollection

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by com.spire.xls.core.spreadsheet.collections.xlschartscollection
              extended by com.spire.xls.collections.chartscollection
all implemented interfaces:
com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, icharts, java.lang.iterable

public class chartscollection
extends xlschartscollection

constructor summary
chartscollection(java.lang.object parent)
           
 
method summary
 chartsheet add()
          adds a new chart.
 chartsheet add(chartsheet chart)
          adds chart to the collection.
 chartsheet add(java.lang.string name)
          add a new chart with name.
 chart get(int index)
          gets a chart object by item index.
 chart get(java.lang.string name)
          get a chart object by name.
 chartsheet remove(java.lang.string name)
          removes chart object from the collection.
 
methods inherited from interface com.spire.xls.core.icharts
getcount
 
constructor detail

chartscollection

public chartscollection(java.lang.object parent)
method detail

get

public chart get(int index)
gets a chart object by item index.
specified by:
get in interface icharts
overrides:
get in class xlschartscollection

get

public chart get(java.lang.string name)
get a chart object by name.
specified by:
get in interface icharts
overrides:
get in class xlschartscollection

add

public chartsheet add()
adds a new chart.
specified by:
add in interface icharts
overrides:
add in class xlschartscollection
returns:
created chart object.

add

public chartsheet add(java.lang.string name)
add a new chart with name.
specified by:
add in interface icharts
overrides:
add in class xlschartscollection
parameters:
name - chart name.
returns:
created chart object.

add

public chartsheet add(chartsheet chart)
adds chart to the collection.
parameters:
chart - chart to add.
returns:
added chart object.

remove

public chartsheet remove(java.lang.string name)
removes chart object from the collection.
specified by:
remove in interface icharts
overrides:
remove in class xlschartscollection
parameters:
name - name of the chart to remove.


网站地图