C# Класс OfficeOpenXml.ExcelCommentCollection

Collection of Excelcomment objects
Наследование: IEnumerable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
AddCommentsFromXml void
CreateXml void
ExcelCommentCollection System
IEnumerable IEnumerator

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddCommentsFromXml ( ) : void
CreateXml ( ExcelPackage pck ) : void
ExcelCommentCollection ( ExcelPackage pck, ExcelWorksheet ws, XmlNamespaceManager ns ) : System
IEnumerable ( ) : IEnumerator

Описание методов

Add() публичный Метод

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
Результат OfficeOpenXml.ExcelComment

Remove() публичный Метод

Removes the comment
public Remove ( ExcelComment comment ) : void
comment ExcelComment The comment to remove
Результат void

RemoveAt() публичный Метод

Removes the comment at the specified position
public RemoveAt ( int Index ) : void
Index int The index
Результат void

this() публичный Метод

Indexer for the comments collection
public this ( ExcelCellAddress cell ) : ExcelComment
cell ExcelCellAddress The cell
Результат ExcelComment

this() публичный Метод

Indexer for the comments collection
public this ( int Index ) : ExcelComment
Index int The index
Результат ExcelComment