Table of Contents

Class XlsCommentsCollection

Namespace
Spire.Xls.Core.Spreadsheet.Collections
Assembly
Spire.XLS.dll
public class XlsCommentsCollection : CollectionExtended<XlsComment>, IList<XlsComment>, ICollection<XlsComment>, IEnumerable<XlsComment>, IExcelApplication, ICloneParent, IComments, IEnumerable
Inheritance
XlsCommentsCollection
Implements
Derived
Inherited Members

Properties

this[int]

public ICommentShape this[int index] { get; }

Parameters

index int

Property Value

ICommentShape

this[int, int]

public ICommentShape this[int iRow, int iColumn] { get; }

Parameters

iRow int
iColumn int

Property Value

ICommentShape

this[string]

public ICommentShape this[string name] { get; }

Parameters

name string

Property Value

ICommentShape

Methods

AddComment(IXLSRange)

protected ICommentShape AddComment(IXLSRange parentRange)

Parameters

parentRange IXLSRange

Returns

ICommentShape

AddComment(int, int)

Adds comment to the specified range.

public ICommentShape AddComment(int iRow, int iColumn)

Parameters

iRow int

Row of the cell to add comment to.

iColumn int

Column of the cell to add comment to.

Returns

ICommentShape

Newly created comment shape.

AddComment(int, int, bool)

public ICommentShape AddComment(int iRow, int iColumn, bool bIsParseOptions)

Parameters

iRow int
iColumn int
bIsParseOptions bool

Returns

ICommentShape

Remove(ICommentShape)

protected void Remove(ICommentShape comment)

Parameters

comment ICommentShape