Fix the documentation how to calculate the cell height

This commit is contained in:
Jakub Jelen 2018-12-12 00:58:05 +01:00 committed by GitHub
parent 367241059c
commit 36dc955984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6219,12 +6219,12 @@ class TCPDF {
* $this->setPage($page);
* if ($page == $start_page) {
* // first page
* $height = $this->h - $start_y - $this->bMargin;
* $height += $this->h - $start_y - $this->bMargin;
* } elseif ($page == $end_page) {
* // last page
* $height = $end_y - $this->tMargin;
* $height += $end_y - $this->tMargin;
* } else {
* $height = $this->h - $this->tMargin - $this->bMargin;
* $height += $this->h - $this->tMargin - $this->bMargin;
* }
* }
* }