This commit is contained in:
KANE LAZENI 2026-03-18 06:23:18 +00:00
parent 849f635915
commit 5e7013a6d3
2 changed files with 7 additions and 12 deletions

View File

@ -8,10 +8,10 @@
$garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice);
$listeassures = $this->police->getcpfclisteassures($idPolice);
// $pdf = new FPDF();
$pdf = new FPDF_Protection();
$pdf->SetProtection(array('print'));
// $pdf = new FPDF_Protection();
// $pdf->SetProtection(array('print'));
$pdf = new FPDF();
$pdf->AliasNbPages();
$pdf->AddPage();
@ -30,9 +30,6 @@
$text = convertirc("AMASEZERANO YUBWISHINGIZI BWO KWIVUZA BWUMUNTU KU GITI CYE HAMWE NABAGIZE UMURYANGO WE");
$pdf->MultiCell(0, $ht, $text, 1, 'C',true);
// MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]])
// $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20);
$pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180);
$pdf->SetFont('');

View File

@ -8,10 +8,11 @@
$garantiescollegecps = $this->police->getGarantiesAdherentCPFC($idPolice);
$listeassures = $this->police->getcpfclisteassures($idPolice);
// $pdf = new FPDF();
$pdf = new FPDF_Protection();
$pdf->SetProtection(array('print'));
// $pdf = new FPDF_Protection();
// $pdf->SetProtection(array('print'));
$pdf = new FPDF();
$pdf->AliasNbPages();
$pdf->AddPage();
@ -30,9 +31,6 @@
$text = convertirc("AMASEZERANO YUBWISHINGIZI BWO KWIVUZA BWUMUNTU KU GITI CYE HAMWE NABAGIZE UMURYANGO WE");
$pdf->MultiCell(0, $ht, $text, 1, 'C',true);
// MultiCell(float w, float h, string txt [, mixed border [, string align [, boolean fill]]])
// $pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',170,20,20);
$pdf->Image($_SESSION['dossierImage'].'/logo_etat.png',10,10,180);
$pdf->SetFont('');