Cell width. If 0 , the cell extends up to the right margin.h
Cell height. Default value: 0 .txt
String to print. Default value: empty string.border
Indicates if borders must be drawn around the cell. The value can be either a number:lnor a string containing some or all of the following characters (in any order):
- 0: no border
- 1: frame
Default value: 0 .
- L: left
- T: top
- R: right
- B: bottom
Indicates where the current position should go after the call. Possible values are:alignPutting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0 .
- 0: to the right
- 1: to the beginning of the next line
- 2: below
Allows to center or align the text. Possible values are:fill
- L or empty string: left align (default value)
- C: center
- R: right align
Indicates if the cell background must be painted ( 1 ) or transparent ( 0 ). Default value: 0 .link
URL or identifier returned by AddLink().
//Set font $pdf->SetFont('Arial','B',16); //Move to 8 cm to the right $pdf->Cell(80); //Centered text in a framed 20*10 mm cell and line break $pdf->Cell(20,10,'Title',1,1,'C'); |