Module: Gotenberg::PdfEngines::Properties

Included in:
Gotenberg::PdfEngines
Defined in:
lib/gotenberg/pdf_engines/properties.rb

Instance Method Summary collapse

Instance Method Details

#pdf_format(format) ⇒ Object

Sets the PDF format of the resulting PDF. See gotenberg.dev/docs/modules/pdf-engines#engines.



7
8
9
10
11
# File 'lib/gotenberg/pdf_engines/properties.rb', line 7

def pdf_format format
  properties['pdfFormat'] = format

  self
end