Class: Pdfrb::Action::Hide
Overview
Hide — show or hide an annotation. §12.6.4.9
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.action_type ⇒ Object
114 |
# File 'lib/pdfrb/action/types.rb', line 114 def action_type; :Hide; end |
.to_pdf(target:, hide: true) ⇒ Object
116 117 118 |
# File 'lib/pdfrb/action/types.rb', line 116 def to_pdf(target:, hide: true) { S: :Hide, T: target, H: hide } end |