Dompdf\Dompdf::setPaper
Sets the paper size & orientation
Signature
public function setPaper(string
$size,
[string
$orientation = "portrait"] )
Parameters
$size
— string- 'letter', 'legal', 'A4', etc. {@link Dompdf\Adapter\CPDF::$PAPER_SIZES}
$orientation
— string- 'portrait' or 'landscape'
Returns
- $this