Why doesn't the mPDF object take any parameters?

For example:

$mpdf = new mPDF('A3'); 

How to set the title, the author, the version of pdf - everything that is transmitted by the methods - I understood.

And how to change the format, field, orientation, etc. - not.

  • github.com/kartik-v/yii2-mpdf are you talking about this extension? If yes, then the link has everything: 'methods' => [ 'SetHeader'=>['Krajee Report Header'], 'SetFooter'=>['{PAGENO}'], ] - MasterAlex
  • How to set a header, footer, I understood. How to change the field above or the font? - Amio
  • The “field on top” is a very vague description of something, for example, the header is also a field on top. Here is a description of the details, there is about the fonts: demos.krajee.com/mpdf - MasterAlex

0