# AnnotationsView.AnnotationMode

Artifact: [androidx.pdf:pdf-viewer](https://developer.android.com/jetpack/androidx/releases/pdf) [View Source](https://cs.android.com/search?q=file:androidx/pdf/annotation/AnnotationsView.kt+class:androidx.pdf.annotation.AnnotationsView.AnnotationMode) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
public abstract class AnnotationsView.AnnotationMode
```

<br />

Known direct subclasses [AnnotationsView.AnnotationMode.Highlight](https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight), [AnnotationsView.AnnotationMode.Select](https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Select)

|---|---|
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight` | Mode for creating new highlight annotations. |
| `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Select` | Mode for selecting existing annotations (e.g. erase, drag, scale). |

*** ** * ** ***

Defines the current interaction mode of the `https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView`.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Highlight extends https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode` Mode for creating new highlight annotations. |
| `public static class https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode.Select extends https://developer.android.com/reference/androidx/pdf/annotation/AnnotationsView.AnnotationMode` Mode for selecting existing annotations (e.g. erase, drag, scale). |