class HexaPDF:: Type:: Annotations:: Link
| Parent | HexaPDF::Type::Annotation |
|---|
Link annotations represent a link to a destination elsewhere in the PDF document or an action to be performed.
See: PDF2.0 s12.5.6.5, HexaPDF::Type::Annotation
Field Definitions
| Name | Type/Allowed Values | Required | Default Value |
|---|---|---|---|
| Type | Symbol | false | :Annot |
| Subtype | Symbol | true | nil |
| Rect | HexaPDF::Rectangle or Array | true | nil |
| Contents | String | false | nil |
| P | HexaPDF::Dictionary or Hash | false | nil |
| NM | String | false | nil |
| M | HexaPDF::DictionaryFields::PDFDate or String or Time or Date or DateTime | false | nil |
| F | Integer | false | 0 |
| AP | HexaPDF::Type::Annotation::AppearanceDictionary or Hash | false | nil |
| AS | Symbol | false | nil |
| Border | HexaPDF::PDFArray or Array | false | [0, 0, 1] |
| C | HexaPDF::PDFArray or Array | false | nil |
| StructParent | Integer | false | nil |
| OC | HexaPDF::Dictionary or Hash | false | nil |
| AF | HexaPDF::PDFArray or Array | false | nil |
| ca | Numeric | false | 1.0 |
| CA | Numeric | false | 1.0 |
| BM | Symbol | false | nil |
| Lang | String | false | nil |
| Subtype | Symbol | true | :Link |
| A | HexaPDF::Dictionary or Hash | false | nil |
| Dest | Symbol or HexaPDF::DictionaryFields::PDFByteString or HexaPDF::PDFArray or String or Array | false | nil |
| H | Symbol One of: :N, :I, :O, :P | false | :I |
| PA | HexaPDF::Dictionary or Hash | false | nil |
| QuadPoints | HexaPDF::PDFArray or Array | false | nil |
| BS | HexaPDF::Type::Annotation::Border or Hash | false | nil |