Method: Pdfcrowd::HtmlToImageClient#setDataString

Defined in:
lib/pdfcrowd.rb

#setDataString(data_string) ⇒ Object

Set the input data for template rendering. The data format can be JSON, XML, YAML or CSV.

  • data_string - The input data string.

  • Returns - The converter object.



2834
2835
2836
2837
# File 'lib/pdfcrowd.rb', line 2834

def setDataString(data_string)
    @fields['data_string'] = data_string
    self
end