require_once('pdf_ln.php'); $pdf = new pdf_ln(); $pdf->AddPage(); $pdf->SetFont('Arial','B',16); $pdf->Cell(40,10,'Hello World!'); $pdf->Output();
require_once('pdf_ln.php'); $pdf = new pdf_ln(); $pdf->AddPage(); $pdf->Image('image.jpg',10,10,50); $pdf->Output();This code example adds an image to the PDF document at coordinates (10,10) with a width and height of 50. The package library used in these examples is the php PDF Ln library.