class HexaPDF::Type::Annotations::Text

Parent

Text annotations are “sticky notes” attached to a point in a PDF document. They act as if the NoZoom and NoRotate flags were always set.

See: PDF2.0 s12.5.6.4, HexaPDF::Type::MarkupAnnotation

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
TypeSymbolfalse:Annot
SubtypeSymboltruenil
RectHexaPDF::Rectangle or Arraytruenil
ContentsStringfalsenil
PHexaPDF::Dictionary or Hashfalsenil
NMStringfalsenil
MHexaPDF::DictionaryFields::PDFDate or String or Time or Date or DateTimefalsenil
FIntegerfalse0
APHexaPDF::Type::Annotation::AppearanceDictionary or Hashfalsenil
ASSymbolfalsenil
BorderHexaPDF::PDFArray or Arrayfalse[0, 0, 1]
CHexaPDF::PDFArray or Arrayfalsenil
StructParentIntegerfalsenil
OCHexaPDF::Dictionary or Hashfalsenil
TStringfalsenil
PopupHexaPDF::Type::Annotation or Hashfalsenil
CANumericfalse1.0
RCHexaPDF::Stream or String or Hashfalsenil
CreationDateHexaPDF::DictionaryFields::PDFDate or String or Time or Date or DateTimefalsenil
IRTHexaPDF::Dictionary or Hashfalsenil
SubjStringfalsenil
RTSymbol
One of: :R, :Group
false:R
ITSymbolfalsenil
ExDataHexaPDF::Dictionary or Hashfalsenil
SubtypeSymboltrue:Text
OpenTrueClass or FalseClassfalsefalse
NameSymbolfalse:Note
StateString
One of: "Marked", "Unmarked", "Accepted", "Rejected", "Cancelled", "Completed", "None"
falsenil
StateModelString
One of: "Review", "Marked"
falsenil