PhpSigep\Pdf\ImprovedFPDF::MultiCellXp PHP Метод

MultiCellXp() публичный Метод

public MultiCellXp ( $w, $txt, $h = null, $border, $align = 'L', $fill = false )
    public function MultiCellXp($w, $txt, $h = null, $border = 0, $align = 'L', $fill = false)
    {
        if ($h === null) {
            $h = $this->getLineHeigth();
        }
        $txt = $this->_($txt);
        $this->MultiCell($w, $h, $txt, $border, $align, $fill);
    }

Usage Example

Пример #1
0
 private function addPage()
 {
     $pdf = $this->pdf;
     $pdf->AddPage();
     if (Bootstrap::getConfig()->getSimular()) {
         $this->pdf->SetFont('Arial', 'B', 50);
         $this->pdf->SetTextColor(200, 200, 200);
         $hInner = $pdf->h - $pdf->tMargin - $pdf->bMargin;
         $lineHeigth = $pdf->getLineHeigth();
         $pdf->SetY($hInner / 2 - $lineHeigth / 2);
         $this->pdf->MultiCellXp($this->pdf->w - $this->pdf->lMargin - $this->pdf->rMargin, "Simulação Documento sem valor", null, 0, 'C');
         $this->pdf->SetTextColor(0, 0, 0);
     }
     $pdf->x = $pdf->lMargin;
     $pdf->y = $pdf->tMargin;
 }
All Usage Examples Of PhpSigep\Pdf\ImprovedFPDF::MultiCellXp