Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Note Class / AddText Method
Represents the FormattedText that will be added to the current Note.


In This Topic
    AddText Method
    In This Topic
    Adds a new FormattedText object at the end of the Note's current FormattedTextList.
    Syntax
    'Declaration
     
    
    Public Function AddText( _
       ByVal text As FormattedText _
    ) As Integer
    'Usage
     
    
    Dim instance As Note
    Dim text As FormattedText
    Dim value As Integer
     
    value = instance.AddText(text)
    public int AddText( 
       FormattedText text
    )

    Parameters

    text
    Represents the FormattedText that will be added to the current Note.

    Return Value

    Returns the index that corresponds to the newly inserted FormattedText object.
    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