public function appendPageContent(string $str): PdfInterface
    {
        $this->setProperty('pageContent', $str);
        $this->mpdf->WriteHTML($this->pageContent);

        return $this;
    }
public function appendPageContent(string $str): PdfInterface
    {
        $this->setProperty('pageContent', $str);
        $this->mpdf->WriteHTML($this->pageContent);

        return $this;
    }
public function appendPageContent ( string $ str ) : PdfInterface { $ this -> setProperty ( 'pageContent' , $ str ) ; $ this -> mpdf -> WriteHTML ( $ this -> pageContent ) ; return $ this ; }
Append the HTML content.

@param string $str The string data used for render

@return PdfInterface The current instance

@api
Append the HTML content .