PMA\libraries\plugins\schema\pdf\Pdf::cellScale PHP Метод

cellScale() публичный Метод

Outputs a scaled cell
См. также: TCPDF::Cell()
public cellScale ( float | integer $w, float | integer $h, string $txt = '', mixed $border, integer $ln, string $align = '', integer $fill, string $link = '' ) : void
$w float | integer The cell width
$h float | integer The cell height
$txt string The text to output
$border mixed Whether to add borders or not
$ln integer Where to put the cursor once the output is done
$align string Align mode
$fill integer Whether to fill the cell with a color or not
$link string Link
Результат void
    public function cellScale($w, $h = 0, $txt = '', $border = 0, $ln = 0, $align = '', $fill = 0, $link = '')
    {
        $h = $h / $this->scale;
        $w = $w / $this->scale;
        $this->Cell($w, $h, $txt, $border, $ln, $align, $fill, $link);
    }