Method: Pdfcrowd::HtmlToImageClient#setDefaultEncoding
- Defined in:
- lib/pdfcrowd.rb
#setDefaultEncoding(encoding) ⇒ Object
Set the default HTML content text encoding.
-
encoding
- The text encoding of the HTML content. -
Returns - The converter object.
2899 2900 2901 2902 |
# File 'lib/pdfcrowd.rb', line 2899 def setDefaultEncoding(encoding) @fields['default_encoding'] = encoding self end |