This method returns an array of width and height of given named format.

Returned values are milimeters multiplied by scale factor of 72 / 25.4

@param string $name
@return float[] Width and height of given format
498398
public static function getSizeFromName($name)
	{
		$format = strtoupper($name);
		$formats = [
			'4A0' => [4767.87, 6740.79],
			'2A0' => [3370.39, 4767.87],
			'A0' => [2383.94, 3370.39],
			'A1' => [1683.78, 2383.94],
			'A2' => [1190.55, 1683.78],
			'A3' => [841.89, 1190.55],
			'A4' => [595.28, 841.89],
			'A5' => [419.53, 595.28],
			'A6' => [297.64, 419.53],
			'A7' => [209.76, 297.64],
			'A8' => [147.40, 209.76],
			'A9' => [104.88, 147.40],
			'A10' => [73.70, 104.88],
			'B0' => [2834.65, 4008.19],
			'B1' => [2004.09, 2834.65],
			'B2' => [1417.32, 2004.09],
			'B3' => [1000.63, 1417.32],
			'B4' => [708.66, 1000.63],
			'B5' => [498.90, 708.66],
			'B6' => [354.33, 498.90],
			'B7' => [249.45, 354.33],
			'B8' => [175.75, 249.45],
			'B9' => [124.72, 175.75],
			'B10' => [87.87, 124.72],
			'C0' => [2599.37, 3676.54],
			'C1' => [1836.85, 2599.37],
			'C2' => [1298.27, 1836.85],
			'C3' => [918.43, 1298.27],
			'C4' => [649.13, 918.43],
			'C5' => [459.21, 649.13],
			'C6' => [323.15, 459.21],
			'C7' => [229.61, 323.15],
			'C8' => [161.57, 229.61],
			'C9' => [113.39, 161.57],
			'C10' => [79.37, 113.39],
			'RA0' => [2437.80, 3458.27],
			'RA1' => [1729.13, 2437.80],
			'RA2' => [1218.90, 1729.13],
			'RA3' => [864.57, 1218.90],
			'RA4' => [609.45, 864.57],
			'SRA0' => [2551.18, 3628.35],
			'SRA1' => [1814.17, 2551.18],
			'SRA2' => [1275.59, 1814.17],
			'SRA3' => [907.09, 1275.59],
			'SRA4' => [637.80, 907.09],
			'LETTER' => [612.00, 792.00],
			'LEGAL' => [612.00, 1008.00],
			'LEDGER' => [1224.00, 792.00],
			'TABLOID' => [792.00, 1224.00],
			'EXECUTIVE' => [521.86, 756.00],
			'FOLIO' => [612.00, 936.00],
			'B' => [362.83, 561.26], // 'B' format paperback size 128x198mm
			'A' => [314.65, 504.57], // 'A' format paperback size 111x178mm
			'DEMY' => [382.68, 612.28], // 'Demy' format paperback size 135x216mm
			'ROYAL' => [433.70, 663.30], // 'Royal' format paperback size 153x234mm
		];

		if (!isset($formats[$format])) {
			throw new \Mpdf\MpdfException(sprintf('Unknown page format %s', $format));
		}

		return $formats[$format];
	}
212453
public function getFormatValue($name, $convert = false)
    {
        $value = $this->format->getValue($name);

        if ($convert) {
            $value = PDFUtils::convertMetric($value, 'mm', $this->metricDoc);
        }

        return $value;
    }
1230655
public function _get($name)
	{
		$colorFunctions = array('r','g','b','h','s','v','a');
		if (in_array($name, $colorFunctions)){
			$varName = '_'.$name;
			return $this->{$varName};
		}
		
		if ($name === 'rgb'){
			return dechex($this->_r << 16 | $this->_g << 8 | $this->_b);
		}else if ($name === 'argb'){
			return dechex( (int)($this->_a*0xFF) << 24 | $this->_r << 16 | $this->_g << 8 | $this->_b);
		}else if ($name === 'hsv'){
			return 'hsv('
				.round($this->_h,2).', '
				.round($this->_s,2).','
				.round($this->_v,2).')';
		}else if ($name === 'ahsv'){
			return 'hsva('
				.round($this->_a,2).')'
				.round($this->_h,2).', '
				.round($this->_s,2).','
				.round($this->_v,2).')';
		}
	}
458885
public function getColumn($name)
    {
        $columnValues = array();
        foreach ($this->getRows() as $row) {
            $columnValues[] = $row->getColumn($name);
        }
        return $columnValues;
    }
958743
private function getSize($filterSetName)
    {
        $filterSet = $this->filterConfig->get($filterSetName);

        if (isset($filterSet['filters'])) {
            foreach ($filterSet['filters'] as $filterName => $params) {
                if ('thumbnail' === $filterName) {
                    return $params['size'];
                }
            }
        }

        return [0, 0];
    }
751817
public static function getFormatDefinition(string $name): ?string
    {
        if (!self::$formats) {
            self::$formats = self::initFormats();
        }

        return isset(self::$formats[$name]) ? self::$formats[$name] : null;
    }
272150
public function getAll($name)
    {
        $s = $this->getNormalizedHeaderName($name);
        $ret = [];
        if (!empty($this->headerMap[$s])) {
            foreach ($this->headerMap[$s] as $index) {
                $ret[] = $this->getByIndex($index);
            }
        }
        return $ret;
    }
9353
public function get($name, $default = null)
    {
        if (is_array($name)) {
            $result = [];

            foreach ($name as $key => $value) {
                if (is_int($key)) {
                    $result[$value] = $this->_get($value, $default);
                } else {
                    $result[$key] = $this->_get($key, $value);
                }
            }
            return $result;
        }
        return $this->_get($name, $default);
    }
562551
public function getArrayOf(string $name) : array
    {
        return $this->nestedArrayContentGroups
            ->where(function (ContentGroup $contentArea) use ($name) {
                return $contentArea->name === $name;
            })
            ->reindex()
            ->asArray();
    }
641410
private function getScanNamespaceFromProperties(string $name)
    {
        $properties = $this->properties;

        if (!isset($properties[$name]) || !\is_array($properties[$name])) {
            return [];
        }

        return $properties[$name];
    }
1198894
public function createFloatingPointColumn(string $name, int $size): FloatingPointColumn {
		$floatingPointColumn = new CommonFloatingPointColumn($name, $size);
		$this->table->addColumn($floatingPointColumn);
		return $floatingPointColumn;
	}
949126
public static function getConstants($name) 
    {
        if (isset(self::$_const[$name])) {
            return self::$_const[$name];
        }
        $self = new \ReflectionClass(new static());
        $contants = $self->getConstants();
        $prefix = strtoupper($name) . '_';
        $prefixLength = strlen($prefix);
        $prefixOffset = $prefixLength - 1;
        self::$_const[$name] = [];
        foreach ($contants as $key => $value) {
            if (substr($key, 0, $prefixLength) === $prefix) {
                self::$_const[$name][$value] = ucwords(strtolower(Inflector::humanize(substr($key, $prefixLength))));
            }
        }
        return self::$_const[$name];
    }
543864
protected function getDimensionsFromAnsicon() : ?array
    {
        if (preg_match('/^(\d+)x(\d+)(?: \((\d+)x(\d+)\))?$/', trim(getenv('ANSICON')), $matches)) {
            return [
                'width'  => (int) $matches[1],
                'height' => (int) ($matches[4] ?? $matches[2])
            ];
        }

        return null;
    }
348327
private function getSamples($name)
    {
        $data = $this->storage->getValues($name);
        $samples = [];
        foreach ($data as $row) {
            $samples[] = new Sample($name, $this->labelNames, $row[1], $row[0]);
        }

        return $samples;
    }
990680
public function getRaw(string $name): array
    {
        if (strtolower($name) === 'cache-control') {
            return $this->getCacheControlDirectives();
        }

        if (strtolower($name) === 'set-cookie') {
            $cookies = $this->fields['Set-Cookie'] ?? [];
            foreach ($this->cookies as $cookie) {
                $cookies[] = (string)$cookie;
            }

            return $cookies;
        }
        if (!isset($this->fields[$name])) {
            return [];
        }

        return $this->fields[$name];
    }
844585
public static function size(string $name, int $size = 12)
    {
        $instance = new static();

        $instance->group['name'] = $name;
        $instance->group['size'] = $size;

        return $instance;
    }
331871
protected function getMeta(string $name = null): array
    {
        return self::query($this->db->createDesc($name ? $name : $this->tableName));
    }