You are here

public function BrowserRenderTrait::setPaperSize in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserRenderTrait.php \Zumba\GastonJS\Browser\BrowserRenderTrait::setPaperSize()

Sets the paper size, useful when saving to PDF

Parameters

$paperSize:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserRenderTrait.php, line 62

Class

BrowserRenderTrait
Trait BrowserRenderTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function setPaperSize($paperSize) {
  return $this
    ->command('set_paper_size', $paperSize);
}