XY Chart NET 3 Control Reference > Classes > Annotations Class |
Annotations Class consists of the following properties:
Property | Parameters | Description | Data Type |
Count | None. | Read-only property. Returns the number of Annotations in the collection. | Integer |
Type | index - an Integer which specifies the zero-based index of the Annotation within the collection. | Read-only property. Returns the type of Annotation for the passed in index. | Enumerated type consisting of the following options:
|
Annotations Class also consists of the following methods:
Method | Parameters | Description |
Add | annType - an enumerated type consisting of the following
options:
|
Creates an annotation item of type annType and adds it to the Annotations collection. The annotation's object is returned. |
Item | index - an Integer which specifies the zero-based index of the Annotation within the collection. | Retrieves the annotation item at the specified index. The annotation's object is returned if the index is valid. |
Remove | index - an Integer which specifies the zero-based index of the Annotation within the collection. | Deletes the annotation item at the specified index from the Annotations collection. |
RemoveAll | None. | Deletes all items from the Annotations collection. |