Class ExcelCommentCollection¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Collection of Excel Comment objects
Inheritance¶
object ← ExcelCommentCollection
Implements¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
CommentXml¶
Access to the comment xml document
Property Value¶
XmlDocument
Count¶
Number of comments in the collection
Property Value¶
Worksheet¶
A reference to the worksheet object
Property Value¶
this[int]¶
Indexer for the comments collection
Property Value¶
this[ExcelCellAddress]¶
Indexer for the comments collection
Property Value¶
this[string]¶
Indexer for the comments collection
Property Value¶
Methods¶
Add(ExcelRangeBase, string, string)¶
Adds a comment to the top left cell of the range
Parameters¶
cell ExcelRangeBase
The cell
Text string
The comment text
author string
The author for the comment. If this property is null or blank EPPlus will set it to the identity of the ClaimsPrincipal if available otherwise to "Anonymous"
Returns¶
The comment
Remove(ExcelComment)¶
Removes the comment
Parameters¶
comment ExcelComment
The comment to remove
RemoveAt(int)¶
Removes the comment at the specified position
Parameters¶
Index int
The index