| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.GetAnnotType
Returns the type of a specific annotation.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetAnnotType"; PDF; AnnotationHandle ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| AnnotationHandle | The annotation index. | 5 |
Result
Returns type or error.
Description
Returns the type of a specific annotation.If the function succeeds the return value is the annotation type.
| Value | Description |
|---|---|
| Caret | Caret |
| Circle | Circle |
| FileLink | A Link annotation with an associated GoToR action (go to remote) |
| FreeText | Free text |
| Highlight | Highlight annotation |
| Ink | Ink drawing |
| Line | Line |
| PageLink | A Link annotation with an associated GoTo action |
| Polygon | Polygon |
| PolyLine | Polyline |
| PopUp | Popup |
| Square | Square |
| Squiggly | Highlight annotation |
| Stamp | Stamp |
| StrikeOut | Highlight annotation |
| Text | Also used as container to store the State Model |
| Underline | Highlight annotation |
| WebLink | A Link annotation with an associated URI action |
| Widget | Form Fields are handled separately |
| 3D | 3D, PDF 1.6 |
| SoundAnnot | Sound, PDF 1.2 |
| FileAttach | File Attachment, PDF 1.3 |
| Redact | Redact, PDF 1.7 |
| Watermark | Watermark, PDF 1.6 |
| Unknown | Unknown annotation type |
| MovieAnnot | Movie, PDF 1.2 |
| PrinterMark | Printer Mark, PDF 1.4 |
| Projection | Projection, PDF 1.7 Extension Level 3 |
| RichMedia | Rich Media, PDF 1.7 Extension Level 3 |
| Screen | Screen, PDF 1.5 |
| TrapNet | TrapNet, PDF 1.3 |
See also GetAnnotType function in DynaPDF manual.
See also
- DynaPDF.DeleteAnnotation
- DynaPDF.GetAnnotation
- DynaPDF.GetAnnotColor
- DynaPDF.GetAnnotCount
- DynaPDF.GetAnnotFlags
- DynaPDF.GetAnnotLink
- DynaPDF.GetFieldType
- DynaPDF.New
- DynaPDF.SetAnnotDate
- DynaPDF.SetAnnotIcon
This function checks for a license.
Created 25th November 2014, last changed 25th November 2014