---
title: "AnnotationState"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/annotationstate/"
product: "Aspose.PDF for Java API Reference"
description: "The enumeration of states to which the original annotation can be set."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < AnnotationState > com.aspose.pdf.AnnotationState, java.lang.Enum < AnnotationState >, com.aspose.pdf.AnnotationState

**All Implemented Interfaces:**
Serializable, Comparable < AnnotationState >

```
public enum AnnotationState extends Enum < AnnotationState >
```

The enumeration of states to which the original annotation can be set.

## Fields

| Field | Description |
| --- | --- |
| [Accepted](#Accepted) | The user agrees with the change. |
| [Cancelled](#Cancelled) | The change has been cancelled. |
| [Completed](#Completed) | The change has been completed. |
| [Marked](#Marked) | The annotation has been marked by the user. |
| [None](#None) | The user has indicated nothing about the change. |
| [Rejected](#Rejected) | The user disagrees with the change. |
| [Undefined](#Undefined) | Not defined state. |
| [Unmarked](#Unmarked) | The annotation has not been marked by the user. |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Accepted {#Accepted}
```
public static final AnnotationState Accepted
```

The user agrees with the change.

### Cancelled {#Cancelled}
```
public static final AnnotationState Cancelled
```

The change has been cancelled.

### Completed {#Completed}
```
public static final AnnotationState Completed
```

The change has been completed.

### Marked {#Marked}
```
public static final AnnotationState Marked
```

The annotation has been marked by the user.

### None {#None}
```
public static final AnnotationState None
```

The user has indicated nothing about the change.

### Rejected {#Rejected}
```
public static final AnnotationState Rejected
```

The user disagrees with the change.

### Undefined {#Undefined}
```
public static final AnnotationState Undefined
```

Not defined state.

### Unmarked {#Unmarked}
```
public static final AnnotationState Unmarked
```

The annotation has not been marked by the user.

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static AnnotationState [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
