Xceed Workbooks for .NET v1.4 Documentation
AddNote(FormattedTextList,Int32,Int32,Boolean) Method


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.
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.
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