Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / AnnotationCollection Class / AddComment Method / AddComment(String,Int32,Int32) Method
The text that will be displayed in the Comment.
The Id of the Row in which the Comment will be inserted.
The Id of the Column in which the Comment will be inserted.


In This Topic
    AddComment(String,Int32,Int32) Method
    In This Topic
    Adds a Comment in the current Worksheet, using a Row Id and a Column Id to determine the insertion point.
    Syntax
    'Declaration
     
    
    Public Overloads Function AddComment( _
       ByVal text As String, _
       ByVal rowId As Integer, _
       ByVal columnId As Integer _
    ) As Comment
    'Usage
     
    
    Dim instance As AnnotationCollection
    Dim text As String
    Dim rowId As Integer
    Dim columnId As Integer
    Dim value As Comment
     
    value = instance.AddComment(text, rowId, columnId)
    public Comment AddComment( 
       string text,
       int rowId,
       int columnId
    )

    Parameters

    text
    The text that will be displayed in the Comment.
    rowId
    The Id of the Row in which the Comment will be inserted.
    columnId
    The Id of the Column in which the Comment will be inserted.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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

    See Also