PdfAnnotation
abstract class PdfAnnotation
| kotlin.Any | |
| ↳ | android.graphics.pdf.component.PdfAnnotation |
Represents a PDF annotation on a page of a PDF document. This abstract class provides a base implementation for different types of PDF annotations such as text (FreeTextAnnotation), highlight (HighlightAnnotation) etc
Summary
| Public methods | |
|---|---|
| open Int |
Returns the type of the annotation. |
Public methods
getPdfAnnotationType
open fun getPdfAnnotationType(): Int
Returns the type of the annotation.
| Return | |
|---|---|
Int |
The annotation type. See PdfAnnotationType for possible values. Value is android.graphics.pdf.component.PdfAnnotationType#UNKNOWN, android.graphics.pdf.component.PdfAnnotationType#FREETEXT, android.graphics.pdf.component.PdfAnnotationType#HIGHLIGHT, or android.graphics.pdf.component.PdfAnnotationType#STAMP |