How to Get the Height of a Cell in FPDF
FPDF is a program that allows users to create PDF files in the PHP programing language. PHP is a language for Web development that can be inserted into the HTML of a Web page. Cells are rectangular structures inside the document with optional boarders. Users can control the size of cells within the program, including the width and height of the cell. If you’ve already created a cell, you can find its height dimension in the program’s code.
Instructions
-
-
1
Open the FPDF file with the cell whose size you want to see.
-
2
Look for the following code: “Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [, int fill [, mixed link]]]]]]])”.
-
-
3
Find the section that reads: “[, float h” with “float” replaced by a number value, such as “1.” That number is the height of the cell.
-
1