Method: Pdfcrowd::HtmlToImageClient#setMaxLoadingTime
- Defined in:
- lib/pdfcrowd.rb
#setMaxLoadingTime(max_time) ⇒ Object
2634 2635 2636 2637 2638 2639 2640 2641 |
# File 'lib/pdfcrowd.rb', line 2634 def setMaxLoadingTime(max_time) if (!(Integer(max_time) >= 10 && Integer(max_time) <= 30)) raise Error.new(Pdfcrowd.(max_time, "setMaxLoadingTime", "html-to-image", "The accepted range is 10-30.", "set_max_loading_time"), 470); end @fields['max_loading_time'] = max_time self end |