Xceed Workbooks for .NET v2.0 Documentation
AddNote(FormattedText,Int32,Int32,Boolean) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > AnnotationCollection Class > AddNote Method : AddNote(FormattedText,Int32,Int32,Boolean) Method
The block of FormattedText 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.
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 text As FormattedText, _
   ByVal rowId As Integer, _
   ByVal columnId As Integer, _
   Optional ByVal addUserName As Boolean _
) As Note
'Usage
 
Dim instance As AnnotationCollection
Dim text As FormattedText
Dim rowId As Integer
Dim columnId As Integer
Dim addUserName As Boolean
Dim value As Note
 
value = instance.AddNote(text, rowId, columnId, addUserName)

Parameters

text
The block of FormattedText 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.
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

Reference

AnnotationCollection Class
AnnotationCollection Members
Overload List