Method: Origami::Page#add_annotation
- Defined in:
- lib/origami/page.rb
#add_annotation(*annotations) ⇒ Object
Add an Annotation to the Page.
684 685 686 687 688 689 690 691 |
# File 'lib/origami/page.rb', line 684 def add_annotation(*annotations) self.Annots ||= [] annotations.each do |annot| annot.solve[:P] = self if self.indirect? self.Annots << annot end end |