Method: EideticPDF::PdfObjects::PdfPage#annots=
- Defined in:
- lib/epdfo.rb
#annots=(annots) ⇒ Object
786 787 788 789 790 |
# File 'lib/epdfo.rb', line 786 def annots=(annots) # annots: array of dictionary objects (@annots ||= []).concat(annots) dictionary['Annots'] = PdfArray.new(@annots.map { |annot| annot.reference_object }) end |