AnnotationType

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

ValueDescription
Text
Link
FreeText
Line
Square
Circle
Polygon
PolyLine
Highlight
Underline
Squiggly
StrikeOut
Stamp
Caret
Ink
Popup
FileAttachment
Widget
Redact
Watermark
Screen

Properties

NameTypeAccessDescription
subtypeStringReadReturns the PDF /Subtype name for this annotation type.

Methods

SignatureDescription
getSubtype()StringReturns the PDF /Subtype name for this annotation type.
fromSubtype(subtype: String)AnnotationTypeLooks up an AnnotationType by its PDF /Subtype name.

See Also

 English