class HexaPDF:: Type:: Annotations:: MarkupAnnotation
Parent | HexaPDF::Type::Annotation |
---|
Markup annotations are used to “mark up” a PDF document, most of the available PDF annotations are actually markup annotations.
See: PDF2.0 s12.5.6.2, 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 |
T | String | false | nil |
Popup | HexaPDF::Type::Annotation or Hash | false | nil |
CA | Numeric | false | 1.0 |
RC | HexaPDF::Stream or String or Hash | false | nil |
CreationDate | HexaPDF::DictionaryFields::PDFDate or String or Time or Date or DateTime | false | nil |
IRT | HexaPDF::Dictionary or Hash | false | nil |
Subj | String | false | nil |
RT | Symbol One of: :R, :Group | false | :R |
IT | Symbol | false | nil |
ExData | HexaPDF::Dictionary or Hash | false | nil |