Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / AnnotationCollection Class / AddNote Method / AddNote(FormattedTextList,Int32,Int32,Boolean) Method
The FormattedTextList that will be displayed in the Note.
The Id of the Row in which the Note will be inserted.
The Id of the Column in which the Note will be inserted.
Adds the Name of the Person who created the Note.


In This Topic
    AddNote(FormattedTextList,Int32,Int32,Boolean) Method
    In This Topic
    Adds a Note in the current Worksheet, using a Row Id and a Column Id to determine the insertion point.
    Syntax
    'Declaration
     
    
    Public Overloads Function AddNote( _
       ByVal texts As FormattedTextList, _
       ByVal rowId As Integer, _
       ByVal columnId As Integer, _
       Optional ByVal addUserName As Boolean _
    ) As Note
    'Usage
     
    
    Dim instance As AnnotationCollection
    Dim texts As FormattedTextList
    Dim rowId As Integer
    Dim columnId As Integer
    Dim addUserName As Boolean
    Dim value As Note
     
    value = instance.AddNote(texts, rowId, columnId, addUserName)

    Parameters

    texts
    The FormattedTextList that will be displayed in the Note.
    rowId
    The Id of the Row in which the Note will be inserted.
    columnId
    The Id of the Column in which the Note will be inserted.
    addUserName
    Adds the Name of the Person who created the Note.
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also