From d5760603472a1a4f07acdda1ef44f8115a8bc269 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Tue, 27 Jul 2021 10:13:41 +0530 Subject: Certificate generation --- pdf/fpdf/doc/cell.htm | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100755 pdf/fpdf/doc/cell.htm (limited to 'pdf/fpdf/doc/cell.htm') diff --git a/pdf/fpdf/doc/cell.htm b/pdf/fpdf/doc/cell.htm new file mode 100755 index 0000000..f96effb --- /dev/null +++ b/pdf/fpdf/doc/cell.htm @@ -0,0 +1,104 @@ + + +
+ +Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [, boolean fill [, mixed link]]]]]]])
+w
0
, the cell extends up to the right margin.
+h
0
.
+txt
border
0
: no border1
: frameL
: leftT
: topR
: rightB
: bottom0
.
+ln
0
: to the right1
: to the beginning of the next line2
: below1
is equivalent to putting 0
and calling Ln() just after.
+Default value: 0
.
+align
L
or empty string: left align (default value)C
: centerR
: right alignfill
true
) or transparent (false
).
+Default value: false
.
+link
// 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');
+