OutputHttpInline()
mPDF ≥ 8.1.2
OutputHttpInline – Finalise the document and send the PDF inline to the browser.
This methods sets HTTP headers using standard header
PHP function.
Description
void OutputHttpInline()
Examples
<?php
$mpdf = new \Mpdf\Mpdf();
$mpdf->WriteHTML('Hello World');
$mpdf->OutputHttpInline();
Changelog
Version | Description |
---|---|
8.1.2 | Method was added. |