Class: Pdfrb::Destination::FitVertical
- Defined in:
- lib/pdfrb/destination/fit.rb
Overview
/FitV left — fit height, left at left.
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
Attributes inherited from Fit
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(page_ref, left: nil) ⇒ FitVertical
constructor
A new instance of FitVertical.
- #to_pdf ⇒ Object
Methods inherited from Fit
[], register, register_as, registry, types
Constructor Details
#initialize(page_ref, left: nil) ⇒ FitVertical
Returns a new instance of FitVertical.
81 82 83 84 |
# File 'lib/pdfrb/destination/fit.rb', line 81 def initialize(page_ref, left: nil) super(page_ref) @left = left end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
79 80 81 |
# File 'lib/pdfrb/destination/fit.rb', line 79 def left @left end |
Class Method Details
.fit_keyword ⇒ Object
87 |
# File 'lib/pdfrb/destination/fit.rb', line 87 def fit_keyword; :FitV; end |