__construct() public method

public __construct ( $orientation = 'P', $unit = 'mm', $size = [210, 297] )
Example #1
0
 function __construct()
 {
     parent::__construct('P', 'mm', 'A4');
     $this->SetLeftMargin(20);
     $this->SetTopMargin(5);
     $this->SetRightMargin(20);
     $this->SetLineWidth($this->small);
 }