Высота верхнего и нижнего колонтитула с TCPDFPhp

Кемеровские программисты php общаются здесь
Гость
Высота верхнего и нижнего колонтитула с TCPDF

Сообщение Гость »


I have been looking everywhere but cannot find a reference to this.

Is it possible to have TCPDF automatically size the header and footer areas?

I am allowing users to create the header and footer themselves, but the height becomes an issue. I don't want to preset it too high or too low or the document will look poor.

Anybody have any ideas?

How I currently set margins:

Код: Выделить всё

//set margins     $pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);     $pdf->SetHeaderMargin(PDF_MARGIN_HEADER);     $pdf->SetFooterMargin(PDF_MARGIN_FOOTER); 


Источник: https://stackoverflow.com/questions/340 ... with-tcpdf

Вернуться в «Php»