Lines Matching refs:width
45 * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the
50 * with the keys "x", "y", "width", "height", "adjustPageSize".
52 * @param float|int|null $width The width.
58 public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false)
61 $size = $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize);
68 return parent::useTemplate($tpl, $x, $y, $width, $height, $adjustPageSize);
74 * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the
78 * @param float|int|null $width The width.
80 * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P)
82 public function getTemplateSize($tpl, $width = null, $height = null)
84 $size = parent::getTemplateSize($tpl, $width, $height);
86 return $this->getImportedPageSize($tpl, $width, $height);