
**Inheritance:**
java.lang.Object
```
public class Annotation
```

Contains elements that contain information about comments inserted into a document page.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getComment()](#getComment--) | Contains the comment text in string format for a shape. |
| [getDate()](#getDate--) | specifies when a comment was created |
| [getDel()](#getDel--) | A flag indicating whether the element has been deleted locally. |
| [getEditDate()](#getEditDate--) | Specifies when a comment was last changed |
| [getIX()](#getIX--) | The zero-based index of the element within its parent element. |
| [getLangID()](#getLangID--) | Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. |
| [getMarkerIndex()](#getMarkerIndex--) | Specifies the index number assigned to a comment marker. |
| [getReviewerID()](#getReviewerID--) | Contains the ID number of the reviewer adding markup to the document. |
| [getShapeID()](#getShapeID--) | The shape ID of the comment. |
| [getX()](#getX--) | The x-coordinate of the comment marker in page coordinates. |
| [getY()](#getY--) | The y-coordinate of the comment marker in page coordinates. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setDel(int value)](#setDel-int-) | For the description of this property, please see [getDel()](../../com.aspose.diagram/annotation\#getDel--) |
| [setIX(int value)](#setIX-int-) | For the description of this property, please see [getIX()](../../com.aspose.diagram/annotation\#getIX--) |
| [setShapeID(int value)](#setShapeID-int-) | For the description of this property, please see [getShapeID()](../../com.aspose.diagram/annotation\#getShapeID--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getComment() {#getComment--}
```
public Str2Value getComment()
```


Contains the comment text in string format for a shape.

**Returns:**
[Str2Value](../../com.aspose.diagram/str2value)
### getDate() {#getDate--}
```
public DateValue getDate()
```


specifies when a comment was created

**Returns:**
[DateValue](../../com.aspose.diagram/datevalue)
### getDel() {#getDel--}
```
public int getDel()
```


A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

**Returns:**
int
### getEditDate() {#getEditDate--}
```
public DateValue getEditDate()
```


Specifies when a comment was last changed

**Returns:**
[DateValue](../../com.aspose.diagram/datevalue)
### getIX() {#getIX--}
```
public int getIX()
```


The zero-based index of the element within its parent element.

**Returns:**
int
### getLangID() {#getLangID--}
```
public IntValue getLangID()
```


Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.

**Returns:**
[IntValue](../../com.aspose.diagram/intvalue)
### getMarkerIndex() {#getMarkerIndex--}
```
public IntValue getMarkerIndex()
```


Specifies the index number assigned to a comment marker.

**Returns:**
[IntValue](../../com.aspose.diagram/intvalue)
### getReviewerID() {#getReviewerID--}
```
public IntValue getReviewerID()
```


Contains the ID number of the reviewer adding markup to the document.

**Returns:**
[IntValue](../../com.aspose.diagram/intvalue)
### getShapeID() {#getShapeID--}
```
public int getShapeID()
```


The shape ID of the comment.

**Returns:**
int
### getX() {#getX--}
```
public DoubleValue getX()
```


The x-coordinate of the comment marker in page coordinates.

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getY() {#getY--}
```
public DoubleValue getY()
```


The y-coordinate of the comment marker in page coordinates.

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setDel(int value) {#setDel-int-}
```
public void setDel(int value)
```


For the description of this property, please see [getDel()](../../com.aspose.diagram/annotation\#getDel--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setIX(int value) {#setIX-int-}
```
public void setIX(int value)
```


For the description of this property, please see [getIX()](../../com.aspose.diagram/annotation\#getIX--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setShapeID(int value) {#setShapeID-int-}
```
public void setShapeID(int value)
```


For the description of this property, please see [getShapeID()](../../com.aspose.diagram/annotation\#getShapeID--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

