[]
Appends an XLComment object to the collection.
public XLComment Add(XLComment comment)
Type | Name | Description |
---|---|---|
XLComment | comment | The XLComment object to add to the collection. |
Type | Description |
---|---|
XLComment | A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another comment already in the collection). |
Creates an XLComment object and appends it to the collection.
public XLComment Add(int rowIndex, int colIndex, string author)
Type | Name | Description |
---|---|---|
int | rowIndex | Index of the top row in the comment. |
int | colIndex | Index of the left column in the comment. |
string | author | The author of the comment. |
Type | Description |
---|---|
XLComment | A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another comment already in the collection). |
Creates an XLComment object and appends it to the collection.
public XLComment Add(int rowIndex, int colIndex, string author, string text)
Type | Name | Description |
---|---|---|
int | rowIndex | Index of the top row in the comment. |
int | colIndex | Index of the left column in the comment. |
string | author | The author of the comment. |
string | text | The context of the comment. |
Type | Description |
---|---|
XLComment | A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another comment already in the collection). |
Creates an XLComment object and appends it to the collection.
public XLComment Add(int rowIndex, int colIndex, string author, string text, bool toRtf)
Type | Name | Description |
---|---|---|
int | rowIndex | Index of the top row in the comment. |
int | colIndex | Index of the left column in the comment. |
string | author | The author of the comment. |
string | text | The text of the comment. |
bool | toRtf | Flag indicating whether to convert |
Type | Description |
---|---|
XLComment | A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another comment already in the collection). |