xlscommentscollection-ag凯发旗舰厅
com.spire.xls.core.spreadsheet.collections
class xlscommentscollection
java.lang.object
com.spire.ms.system.collections.collectionbase
com.spire.xls.core.spreadsheet.collections.xlscommentscollection
- all implemented interfaces:
- com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, icomments, java.lang.iterable
- direct known subclasses:
- commentscollection
public class xlscommentscollection
- extends
- implements icomments
xlscommentscollection
public xlscommentscollection(java.lang.object parent)
get
public icommentshape get(int index)
- returns single entry from the collection. read-only.
- specified by:
get
in interface icomments
getitem
public icommentshape getitem(int irow,
int icolumn)
- returns single entry from the collection by row and column one-based indexes. read-only.
- specified by:
getitem
in interface icomments
get
public icommentshape get(java.lang.string name)
- gets single item from the collection.
- parameters:
name
- name of the item to get.
- returns:
- single item from the collection.
addcomment
public icommentshape addcomment(int irow,
int icolumn)
- adds comment to the specified range.
- parameters:
irow
- row of the cell to add comment to.icolumn
- column of the cell to add comment to.
- returns:
- newly created comment shape.
addcomment
public icommentshape addcomment(int irow,
int icolumn,
boolean bisparseoptions)
- adds comment to the specified range.
- parameters:
irow
- row of the cell to add comment to.icolumn
- column of the cell to add comment to.
- returns:
- newly created comment shape.