xlscommentscollection-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.collections
class xlscommentscollection

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by 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

constructor summary
xlscommentscollection(java.lang.object parent)
           
 
method summary
 icommentshape addcomment(int irow, int icolumn)
          adds comment to the specified range.
 icommentshape addcomment(int irow, int icolumn, boolean bisparseoptions)
          adds comment to the specified range.
 icommentshape get(int index)
          returns single entry from the collection.
 icommentshape get(java.lang.string name)
          gets single item from the collection.
 icommentshape getitem(int irow, int icolumn)
          returns single entry from the collection by row and column one-based indexes.
 
methods inherited from interface com.spire.xls.core.icomments
getcount, getparent
 
constructor detail

xlscommentscollection

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

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.


网站地图