Lines Matching refs:format
9 * This method returns an array of width and height of given named format.
14 * @return float[] Width and height of given format
18 $format = strtoupper($name);
71 'B' => [362.83, 561.26], // 'B' format paperback size 128x198mm
72 'A' => [314.65, 504.57], // 'A' format paperback size 111x178mm
73 'DEMY' => [382.68, 612.28], // 'Demy' format paperback size 135x216mm
74 'ROYAL' => [433.70, 663.30], // 'Royal' format paperback size 153x234mm
77 if (!isset($formats[$format])) {
78 throw new \Mpdf\MpdfException(sprintf('Unknown page format %s', $format));
81 return $formats[$format];