Lines Matching defs:width
44 * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the
49 * with the keys "x", "y", "width", "height", "adjustPageSize".
51 * @param float|int|null $width The width.
57 public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false)
60 $size = $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize);
67 return parent::useTemplate($tpl, $x, $y, $width, $height, $adjustPageSize);
73 * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the
77 * @param float|int|null $width The width.
79 * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P)
81 public function getTemplateSize($tpl, $width = null, $height = null)
83 $size = parent::getTemplateSize($tpl, $width, $height);
85 return $this->getImportedPageSize($tpl, $width, $height);