Dompdf\Adapter\CPDF::__construct
Class constructor
Signature
public function __construct([string
$paper = "letter",
[string
$orientation = "portrait",
Dompdf
$dompdf]] )
Parameters
$paper
— string- The size of paper to use in this PDF ({@link CPDF::$PAPER_SIZES})
$orientation
— string- The orientation of the document (either 'landscape' or 'portrait')
$dompdf
— Dompdf\Dompdf- The Dompdf instance