# Annotation
Class
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Types | Text <br> Link | Supported annotation types. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Attributes | Hidden | toJavaScript | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Contents | String | Nil | The text content of the annotation. Unused with Type = Link. |
| Destination | Variant | Nil | The Destination of a Link annotation. Can be a URL string or a page number. |
| Height | Double | Nil | Height of the annotation. |
| IsExpanded | Boolean | False | If Type is not Link, this determines whether the annotation is expanded by default. |
| Title | String | Nil | Title of the annotation, or text drawn if Type = Link. |
| Type | Types | Nil | Type of annotation. |
| Width | Double | Nil | Width of the annotation. |
| X | Double | Nil | X position of the annotation. |
| Y | Double | Nil | Y position of the annotation. |