PdfAnnotationType
Leave feedback
On this page
Inheritance: java.lang.Object
public final class PdfAnnotationType
Enumeration of annotation types.
| 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. |
| 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. |
public static final int Text
Text annotation type.
public static final int Circle
Circle annotation type.
public static final int Polygon
Polygon annotation type.
public static final int PolyLine
Polyline annotation type.
public static final int Line
Line annotation type.
public static final int Square
Square annotation type.
public static final int FreeText
Free text annotation type.
public static final int Highlight
Highlight annotation type.
public static final int Underline
Underline annotation type.
public static final int Squiggly
Squiggle annotation type.
public static final int StrikeOut
Strikeout annotation type.
public static final int Caret
Caret annotation type.
public static final int Ink
Ink annotation type.
public static final int Link
Link annotation type.
public static final int Popup
Popup annotation type.
public static final int FileAttachment
File attachment annotation type.
public static final int Sound
Sound annotation type.
public static final int Movie
Movie annotation type.
public static final int Screen
Screen annotation type.
public static final int Widget
Widget annotation type.
public static final int Watermark
Watermark annotation type.
public static final int TrapNet
Trap network annotation type.
public static final int PrinterMark
Printer mark annotation type.
public static final int Redaction
Redaction annotation type.
public static final int Stamp
Rubber stamp annotation type.
public static final int RichMedia
RichMedia annotation type.
public static final int Unknown
Unknown annotation.
public static final int Pdf3D
PDF3D annotation.
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.
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.
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.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.