Add Method

Office Open XML

Adds a comment to the top left cell of the range

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelComment Add(
	ExcelRangeBase cell,
	string Text,
	string author
)
Visual Basic (Declaration)
Public Function Add ( _
	cell As ExcelRangeBase, _
	Text As String, _
	author As String _
) As ExcelComment
Visual C++
public:
ExcelComment^ Add(
	ExcelRangeBase^ cell, 
	String^ Text, 
	String^ author
)

Parameters

cell
Type: OfficeOpenXml..::.ExcelRangeBase
The cell
Text
Type: System..::.String
The comment text
author
Type: System..::.String
Author

Return Value

The comment

See Also