public function setPaper($paper, $orientation = 'portrait') { $this->paper = $paper; $this->orientation = $orientation; $this->dompdf->setPaper($paper, $orientation); return $this; }
/** * Set the paper size (default A4) * * @param string $paper * @param string $orientation * @return $this * @static */ public static function setPaper($paper, $orientation = null) { return \Barryvdh\DomPDF\PDF::setPaper($paper, $orientation); }