Method: RBPDF#getHeaderData
- Defined in:
- lib/rbpdf.rb
#getHeaderData ⇒ Object Also known as: get_header_data
Returns header data:
ret['logo'] = logo image
ret['logo_width'] = width of the image logo in user units
ret['title'] = header title
ret['string'] = header description string
- @return hash
- @access public
- @since 4.0.012 (2008-07-24)
1886 1887 1888 1889 1890 1891 1892 1893 |
# File 'lib/rbpdf.rb', line 1886 def getHeaderData() ret = {} ret['logo'] = @header_logo ret['logo_width'] = @header_logo_width ret['title'] = @header_title ret['string'] = @header_string return ret end |