2017-04-25 97 views
1

我有下表,它从左侧开始,但我需要这张表从右侧开始。我如何设置FPDF单元右侧

$pdf->Cell(30,10,'Address Line 1',1,0,'R'); 
//this code align text Right Side not the cell i need to move the cell on right sie 
------------------------- ------------------------- 
| Address Line 1   |  Version   | 
| Address Line 2   |   1.0   | 
| City     |  06/05/2011  | 
------------------------- ------------------------- 

要求:

       ------------------------- ------------------------- 
           | Address Line 1   |  Version   | 
           | Address Line 2   |   1.0   | 
           | City     |  06/05/2011  | 
           ------------------------- ------------------------- 
+0

http://stackoverflow.com/questions/13407085/how-do-you-make-a-table-like-this-with-fpdf-using-php它可以帮助 –

回答

1

问题解决。我申请左旁

$pdf->SetLeftMargin(85); 
相关问题