Fix removed var_dump
This commit is contained in:
parent
d71ccc4a02
commit
bbbd5f5202
1 changed files with 2 additions and 4 deletions
|
|
@ -303,12 +303,10 @@ function pdfGetHeightForHtmlContent(&$pdf, $htmlcontent)
|
|||
$pdf->startTransaction();
|
||||
// store starting values
|
||||
$start_y = $pdf->GetY();
|
||||
var_dump($start_y);
|
||||
//var_dump($start_y);
|
||||
$start_page = $pdf->getPage();
|
||||
// call your printing functions with your parameters
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
// call printing functions with content
|
||||
$pdf->writeHTMLCell(0, 0, 0, $start_y, $htmlcontent, 0, 1, false, true, 'J',true);
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
// get the new Y
|
||||
$end_y = $pdf->GetY();
|
||||
$end_page = $pdf->getPage();
|
||||
|
|
|
|||
Loading…
Reference in a new issue