TIC\DpdfBundle\Traits\DompdfWrapper::setCanvas
Set a custom `Canvas` instance to render the document to.
Be aware that the instance will be replaced on render if the document defines a paper size different from the canvas.
Signature
public function setCanvas(Canvas
$canvas )
Parameters
$canvas— TIC\DpdfBundle\Traits\Canvas
Returns
- $this