ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
example_029.php File Reference

Go to the source code of this file.

Namespaces

 com\tecnick\tcpdf
 Configuration file for TCPDF.
 

Variables

 $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false)
 
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $preferences
 

Variable Documentation

◆ $pdf

$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false)

Definition at line 31 of file example_029.php.

◆ $preferences

if ( @file_exists(dirname(__FILE__).'/lang/eng.php')) $preferences
Initial value:
'HideToolbar' => true,
'HideMenubar' => true,
'HideWindowUI' => true,
'FitWindow' => true,
'CenterWindow' => true,
'DisplayDocTitle' => true,
'NonFullScreenPageMode' => 'UseNone',
'ViewArea' => 'CropBox',
'ViewClip' => 'CropBox',
'PrintArea' => 'CropBox',
'PrintClip' => 'CropBox',
'PrintScaling' => 'AppDefault',
'Duplex' => 'DuplexFlipLongEdge',
'PickTrayByPDFSize' => true,
'PrintPageRange' => array(1,1,2,3),
'NumCopies' => 2
)
Create styles array
The data for the language used.

Definition at line 70 of file example_029.php.

Referenced by TCPDF\setViewerPreferences().