Dlaczego mimo ustawienia parametru valign = 'M' tekst w komórce jest wyrównany do góry?
$this->MultiCell($width[0], $max_height, 'ble ble ble', 1, 'L', true, 0, '', '', true, 0, false, true, 0, 'M', false);
TCPDF w wersji 5.9.116
Jedyne rozwiązanie jakie znalazłem to sformatowanie w html:
//dodanie tabelki z td valign public function txt_valign($string) { return '<table width="100%" height="100%"><tr><td valign="middle"></td>'.$string.'</tr></table>'; } //później dodanie komórki html do pdf $pdf->writeHTMLCell($width, $max_height, '', '', $pdf->txt_valign($string), 1, 0, true, true, 'L', true);