Xceed Workbooks for .NET v1.4 Documentation
AddNote(FormattedText,String,Boolean) Method


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > AnnotationCollection Class > AddNote Method : AddNote(FormattedText,String,Boolean) Method
The block of FormattedText that will be displayed in the Note.
The Address of the Cell 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 the Address of a Cell to determine the insertion point.
Syntax
'Declaration

 

Public Overloads Function AddNote( _

   ByVal text As FormattedText, _

   ByVal cellAddress As String, _

   Optional ByVal addUserName As Boolean _

) As Note
'Usage

 

Dim instance As AnnotationCollection

Dim text As FormattedText

Dim cellAddress As String

Dim addUserName As Boolean

Dim value As Note

 

value = instance.AddNote(text, cellAddress, addUserName)

Parameters

text
The block of FormattedText that will be displayed in the Note.
cellAddress
The Address of the Cell 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