Xceed Workbooks for .NET v2.0 Documentation
Item(Int32,Int32) Property


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

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