Constructs PDF and configures standard parameters.
public __construct ( string $orientation = 'P', string $unit = 'mm', string $format = 'A4', boolean $unicode = true, string $encoding = 'UTF-8', boolean $diskcache = false, boolean $pdfa = false ) | ||
$orientation | string | page orientation |
$unit | string | unit |
$format | string | the format used for pages |
$unicode | boolean | true means that the input text is unicode |
$encoding | string | charset encoding; default is UTF-8. |
$diskcache | boolean | if true reduce the RAM memory usage by caching temporary data on filesystem (slower). |
$pdfa | boolean | If TRUE set the document to PDF/A mode. |