I have the following code in fpdf
but I do not know how to remove that line break at MultiCell
$pdf->Cell(40,10,'Columna1',1,0,'C');
$pdf->MultiCell(40,10,'palabras y mas palabras',1,'C');
$pdf->Cell(40,10,'Columna3',1,0,'C');
It would be necessary to set the position in Eje Y
before writing "Columna3"
, as at the beginning we assign 10
, and the height of the first cell is 10
, obviously the third cell must move 20
.
$pdf->SetY(10); /* Inicio */
$pdf->SetFont('Arial','B',12);
$pdf->Cell(40,10,'Columna1',1,0,'C');
$pdf->MultiCell(40,10,'palabras y mas palabras',1,'C');
$pdf->SetY(20); /* Set 20 Eje Y */
$pdf->Cell(40,10,'Columna3',1,0,'C');