Index
- Installation
- Getting Started
- Memory Usage
- Readers and Writers
- The Document Class
- Metadata
- Pages
- Canvas
- Page Layout and Mode
- Viewer Preferences
- Document Outline
- Page Labels
- Actions
- Destinations
- Annotations
- Embedded File Streams
- Colors and Color Spaces
- Page Formats and Boundaries
- Standard and Public Key Encryption
- Fonts and Encodings
- Corrupted Documents
- Reader Enabled Documents
- Refactor Old SetaPDF Code
- API Reference
Link Annotation Class
Table of Contents
Introduction
The link annotation represents either a hypertext link to a destination in the document or an action to be performed.
Methods
The class implements getter and setter methods to access link annotation data:
getAction()
Get the action of the item.
getDestination()
Get the destination of the item.
getQuadPoints()
Get the quad points.
setAction()
Set the action of the annotation.
setDestination()
Set the destination of the item.
setQuadPoints()
Set the quad points.
Example
If a scalar value is passed as action or destination parameter in the constructor it will automatically become an Uri action.