Java org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationLink fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationLink fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationLink.

The text is from its open source code.

Constructor

PDAnnotationLink()
Constructor.
PDAnnotationLink(COSDictionary field)
Creates a Link annotation from a COSDictionary, expected to be a correct object definition.

Method

PDActiongetAction()
Get the action to be performed when this annotation is to be activated.
StringgetContents()
Get the "contents" of the field.
PDDestinationgetDestination()
Get the destination to be displayed when the annotation is activated.
PDRectanglegetRectangle()
The annotation rectangle, defining the location of the annotation on the page in default user space units.
voidsetAction(PDAction action)
Set the annotation action.
voidsetBorderStyle(PDBorderStyleDictionary bs)
This will set the border style dictionary, specifying the width and dash pattern used in drawing the line.
voidsetRectangle(PDRectangle rectangle)
This will set the rectangle for this annotation.