Method: PDF::SimpleTable#width
- Defined in:
- lib/extensions/pdf-writer/pdf/simpletable.rb
#width ⇒ Object
Specifies the width of the table. If the table is smaller than the provided width, columns are proportionally stretched to fit the width of the table. If the table is wider than the provided width, columns are proportionally shrunk to fit the width of the table. Content may need to wrap in this case.
Defaults to zero, which indicates that the size whould be determined automatically based on the content and the margins.
201 202 203 |
# File 'lib/extensions/pdf-writer/pdf/simpletable.rb', line 201 def width @width end |