AnnotationType
Overview
AnnotationType is a enum in Aspose.PDF FOSS for Java.
Enumerates the standard PDF annotation types (ISO 32000-1:2008, §12.5.6).
This enum provides 2 methods for working with AnnotationType objects in Java programs.
Available methods include: fromSubtype, getSubtype.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: subtype.
Values
| Value | Description |
|---|---|
Text | |
Link | |
FreeText | |
Line | |
Square | |
Circle | |
Polygon | |
PolyLine | |
Highlight | |
Underline | |
Squiggly | |
StrikeOut | |
Stamp | |
Caret | |
Ink | |
Popup | |
FileAttachment | |
Widget | |
Redact | |
Watermark | |
Screen |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
subtype | String | Read | Returns the PDF /Subtype name for this annotation type. |
Methods
| Signature | Description |
|---|---|
getSubtype() → String | Returns the PDF /Subtype name for this annotation type. |
fromSubtype(subtype: String) → AnnotationType | Looks up an AnnotationType by its PDF /Subtype name. |