Creates an
XLComment object and appends it to the collection.
'Declaration
Public Overloads Function Add( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.String, _
ByVal As System.String, _
ByVal As System.Boolean _
) As XLComment
public XLComment Add(
System.int ,
System.int ,
System.string ,
System.string ,
System.bool
)
Parameters
- rowIndex
- Index of the top row in the comment.
- colIndex
- Index of the left column in the comment.
- author
- The author of the comment.
- text
- The text of the comment.
- toRtf
- Flag indicating whether to convert and to RTF format.
Return Value
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).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2