Class ExcelWorksheetThreadedComments
Accessor for Excel
Inheritance
Inherited Members
Namespace: OfficeOpenXml.ThreadedComments
Assembly: EPPlus.dll
Syntax
public class ExcelWorksheetThreadedComments
Properties
Count
Number of Excel
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System. |
Item[ExcelCellAddress]
Returns a ExcelcellAddress
.
Declaration
public ExcelThreadedCommentThread this[ExcelCellAddress cellAddress] { get; }
Parameters
Type | Name | Description |
---|---|---|
Excel |
cellAddress | The requested cell address in A1 format |
Property Value
Type | Description |
---|---|
Excel |
An existing Excel |
Item[Int32]
Returns a Excelindex
.
Declaration
public ExcelThreadedCommentThread this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System. |
index | The index in the collection |
Property Value
Type | Description |
---|---|
Excel |
An existing Excel |
Item[String]
Returns a ExcelcellAddress
.
Declaration
public ExcelThreadedCommentThread this[string cellAddress] { get; }
Parameters
Type | Name | Description |
---|---|---|
System. |
cellAddress | The requested cell address in A1 format |
Property Value
Type | Description |
---|---|
Excel |
An existing Excel |
Persons
Declaration
public ExcelThreadedCommentPersonCollection Persons { get; }
Property Value
Type | Description |
---|---|
Excel |
ThreadedCommentsXml
The raw xml for the threaded comments
Declaration
public XmlDocument ThreadedCommentsXml { get; }
Property Value
Type | Description |
---|---|
System. |
Threads
An enumerable of the existing Excel
Declaration
public IEnumerable<ExcelThreadedCommentThread> Threads { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Add(ExcelCellAddress)
Declaration
public ExcelThreadedCommentThread Add(ExcelCellAddress cellAddress)
Parameters
Type | Name | Description |
---|---|---|
Excel |
cellAddress |
Returns
Type | Description |
---|---|
Excel |
Add(String)
Adds a new Excel
Declaration
public ExcelThreadedCommentThread Add(string cellAddress)
Parameters
Type | Name | Description |
---|---|---|
System. |
cellAddress |
Returns
Type | Description |
---|---|
Excel |
The new, empty Excel |
Exceptions
Type | Condition |
---|---|
System. |
Thrown if there was an existing Excel |
Remove(ExcelThreadedCommentThread)
Removes the Excel
Declaration
public void Remove(ExcelThreadedCommentThread threadedComment)
Parameters
Type | Name | Description |
---|---|---|
Excel |
threadedComment | An existing Excel |
RemoveAt(Int32)
Removes the Excel
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System. |
index | The index for the threaded comment to be removed |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |