[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IComments

IComments Interface

Represents a collection of cell comments.

Each comment in the collection is represented by an IComment object. Use this interface to access and enumerate the comments in a worksheet.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IComments : IEnumerable
Public Interface IComments
    Inherits IEnumerable
Examples
worksheet.Range["B2"].AddComment("Review this value");
IComments comments = worksheet.Comments;
IComment comment = comments[0];

Properties

Name Description
Count

Returns the number of comment objects in the collection.

This value indicates how many IComment objects are contained in this IComments collection, such as the collection returned by Comments.

this[int]

Gets the comment at the specified index.

Use this property to retrieve an IComment object from this IComments collection, such as the collection returned by Comments.