C# Class OfficeOpenXml.ExcelCommentCollection

Collection of Excelcomment objects
Inheritance: IEnumerable
Show file Open project: ylatuya/EPPlus

Private Properties

Property Type Description
AddCommentsFromXml void
CreateXml void
ExcelCommentCollection System
IEnumerable IEnumerator

Public Methods

Method Description
Add ( OfficeOpenXml.ExcelRangeBase cell, string Text, string author ) : OfficeOpenXml.ExcelComment

Adds a comment to the top left cell of the range

Remove ( ExcelComment comment ) : void

Removes the comment

RemoveAt ( int Index ) : void

Removes the comment at the specified position

this ( ExcelCellAddress cell ) : ExcelComment

Indexer for the comments collection

this ( int Index ) : ExcelComment

Indexer for the comments collection

Private Methods

Method Description
AddCommentsFromXml ( ) : void
CreateXml ( ExcelPackage pck ) : void
ExcelCommentCollection ( ExcelPackage pck, ExcelWorksheet ws, XmlNamespaceManager ns ) : System
IEnumerable ( ) : IEnumerator

Method Details

Add() public method

Adds a comment to the top left cell of the range
public Add ( OfficeOpenXml.ExcelRangeBase cell, string Text, string author ) : OfficeOpenXml.ExcelComment
cell OfficeOpenXml.ExcelRangeBase The cell
Text string The comment text
author string Author
return OfficeOpenXml.ExcelComment

Remove() public method

Removes the comment
public Remove ( ExcelComment comment ) : void
comment ExcelComment The comment to remove
return void

RemoveAt() public method

Removes the comment at the specified position
public RemoveAt ( int Index ) : void
Index int The index
return void

this() public method

Indexer for the comments collection
public this ( ExcelCellAddress cell ) : ExcelComment
cell ExcelCellAddress The cell
return ExcelComment

this() public method

Indexer for the comments collection
public this ( int Index ) : ExcelComment
Index int The index
return ExcelComment