PdfAnnotationType

Contents
[ ]

Inheritance: java.lang.Object

public final class PdfAnnotationType

Enumeration of annotation types.

Fields

Field Description
Text Text annotation type.
Circle Circle annotation type.
Polygon Polygon annotation type.
PolyLine Polyline annotation type.
Line Line annotation type.
Square Square annotation type.
FreeText Free text annotation type.
Highlight Highlight annotation type.
Underline Underline annotation type.
Squiggly Squiggle annotation type.
StrikeOut Strikeout annotation type.
Caret Caret annotation type.
Ink Ink annotation type.
Link Link annotation type.
Popup Popup annotation type.
FileAttachment File attachment annotation type.
Sound Sound annotation type.
Movie Movie annotation type.
Screen Screen annotation type.
Widget Widget annotation type.
Watermark Watermark annotation type.
TrapNet Trap network annotation type.
PrinterMark Printer mark annotation type.
Redaction Redaction annotation type.
Stamp Rubber stamp annotation type.
RichMedia RichMedia annotation type.
Unknown Unknown annotation.
Pdf3D PDF3D annotation.

Methods

Method Description
toString(int value) Returns a string representation of the [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) value.
parse(String value) Parses a string to a [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) enumeration value.
isDefined(int value) Checks if a value defined for [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) enumeration.

Text

public static final int Text

Text annotation type.

Circle

public static final int Circle

Circle annotation type.

Polygon

public static final int Polygon

Polygon annotation type.

PolyLine

public static final int PolyLine

Polyline annotation type.

Line

public static final int Line

Line annotation type.

Square

public static final int Square

Square annotation type.

FreeText

public static final int FreeText

Free text annotation type.

Highlight

public static final int Highlight

Highlight annotation type.

Underline

public static final int Underline

Underline annotation type.

Squiggly

public static final int Squiggly

Squiggle annotation type.

StrikeOut

public static final int StrikeOut

Strikeout annotation type.

Caret

public static final int Caret

Caret annotation type.

Ink

public static final int Ink

Ink annotation type.

public static final int Link

Link annotation type.

public static final int Popup

Popup annotation type.

FileAttachment

public static final int FileAttachment

File attachment annotation type.

Sound

public static final int Sound

Sound annotation type.

Movie

public static final int Movie

Movie annotation type.

Screen

public static final int Screen

Screen annotation type.

Widget

public static final int Widget

Widget annotation type.

Watermark

public static final int Watermark

Watermark annotation type.

TrapNet

public static final int TrapNet

Trap network annotation type.

PrinterMark

public static final int PrinterMark

Printer mark annotation type.

Redaction

public static final int Redaction

Redaction annotation type.

Stamp

public static final int Stamp

Rubber stamp annotation type.

RichMedia

public static final int RichMedia

RichMedia annotation type.

Unknown

public static final int Unknown

Unknown annotation.

Pdf3D

public static final int Pdf3D

PDF3D annotation.

toString(int value)

public static final String toString(int value)

Returns a string representation of the [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) value.

Parameters:

Parameter Type Description
value int The value to convert.

Returns: java.lang.String - The string representation of the [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) value.

parse(String value)

public static final int parse(String value)

Parses a string to a [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) enumeration value.

Parameters:

Parameter Type Description
value java.lang.String The string to parse.

Returns: int - The [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) enumeration value.

isDefined(int value)

public static final Boolean isDefined(int value)

Checks if a value defined for [PdfAnnotationType](../../com.groupdocs.watermark.contents/pdfannotationtype) enumeration.

Parameters:

Parameter Type Description
value int The value to check.

Returns: java.lang.Boolean - true if the value is defined, false otherwise.