[Root] / Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / AnnotationCollection Class / Item Property / Item(Int32,Int32) Property
The Id of the Row to which the Annotation is attached.
The Id of the Column to which the Annotation is attached.


In This Topic
    Item(Int32,Int32) Property
    In This Topic
    Gets an Annotation by using a Row Id & a Column Id.
    Syntax
    'Declaration
     
    
    Public Overloads ReadOnly Property Item( _
       ByVal rowId As Integer, _
       ByVal columnId As Integer _
    ) As Annotation
    'Usage
     
    
    Dim instance As AnnotationCollection
    Dim rowId As Integer
    Dim columnId As Integer
    Dim value As Annotation
     
    value = instance.Item(rowId, columnId)
    public Annotation Item( 
       int rowId,
       int columnId
    ) {get;}

    Parameters

    rowId
    The Id of the Row to which the Annotation is attached.
    columnId
    The Id of the Column to which the Annotation is attached.
    Remarks

    The nature of the Annotation can be identified with the AnnotationType property.

    Note, however, that if the Annotation is a Comment, you must get it using the ThreadCommentCollection class to interact with it.

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also