VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor.Xlsx Namespace / XlsxDocumentSheet Class / MoveComment(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    MoveComment(Int32,Int32) Method (XlsxDocumentSheet)
    In This Topic
    Moves the comment.
    Syntax
    'Declaration
    
    Public Sub MoveComment( _
    ByVal oldIndex
    Current index of comment that should be changed.
    As System.Int32, _
    ByVal newIndex
    New index of comment that should be changed.
    As System.Int32 _
    )
    public void MoveComment(
    System.Int32 oldIndex,
    System.Int32 newIndex
    )
    public: void MoveComment(
    System.Int32 oldIndex,
    System.Int32 newIndex
    )
    public:
    void MoveComment(
    System.Int32 oldIndex,
    System.Int32 newIndex
    )

    Parameters

    oldIndex
    Current index of comment that should be changed.
    newIndex
    New index of comment that should be changed.
    Exceptions
    ExceptionDescription
    Thrown if oldIndex or newIndex is less than zero -or- oldIndex or newIndex is equal to or greater comment count.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also