Method: Pdfcrowd::PdfToTextClient#setCropAreaWidth
- Defined in:
- lib/pdfcrowd.rb
#setCropAreaWidth(width) ⇒ Object
4934 4935 4936 4937 4938 4939 4940 4941 |
# File 'lib/pdfcrowd.rb', line 4934 def setCropAreaWidth(width) if (!(Integer(width) >= 0)) raise Error.new(Pdfcrowd.(width, "setCropAreaWidth", "pdf-to-text", "Must be a positive integer or 0.", "set_crop_area_width"), 470); end @fields['crop_area_width'] = width self end |