Hi,
I'm learning how to use FPDF.
There is a function we can use to create the PDF which is:
$pdf=new FPDF('P','mm','Letter');
P means Portrait
mm is the unit of the size
Letter is the paper size.
It is written that we can specify a custom size
"in the form of a two-element array containing the width and the height (expressed in the unit given by unit)."
Can anyone show me an example of this ? (two-element array)
I'm learning how to use FPDF.
There is a function we can use to create the PDF which is:
$pdf=new FPDF('P','mm','Letter');
P means Portrait
mm is the unit of the size
Letter is the paper size.
It is written that we can specify a custom size
"in the form of a two-element array containing the width and the height (expressed in the unit given by unit)."
Can anyone show me an example of this ? (two-element array)