Method: Pdfcrowd::HtmlToImageClient#convertString
- Defined in:
- lib/pdfcrowd.rb
#convertString(text) ⇒ Object
2183 2184 2185 2186 2187 2188 2189 2190 |
# File 'lib/pdfcrowd.rb', line 2183 def convertString(text) if (!(!text.nil? && !text.empty?)) raise Error.new(Pdfcrowd.(text, "convertString", "html-to-image", "The string must not be empty.", "convert_string"), 470); end @fields['text'] = text @helper.post(@fields, @files, @raw_data) end |