ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
example_027.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)
 
 $txt = "You can also export 1D barcodes in other formats (PNG, SVG, HTML). Check the examples inside the barcodes directory.\n"
 
 $style
 
 $style ['bgcolor'] = array(255,255,240)
 
 $style ['fgcolor'] = array(127,0,0)
 
 $style ['position'] = 'L'
 
 $style ['position'] = 'C'
 
 $style ['position'] = 'R'
 
 $style ['fgcolor'] = array(0,127,0)
 
 $style ['position'] = ''
 
 $style ['stretch'] = false
 
 $style ['fitwidth'] = false
 
 $style ['align'] = 'L'
 
 $style ['align'] = 'C'
 
 $style ['align'] = 'R'
 
 $style ['fgcolor'] = array(0,64,127)
 
 $style ['position'] = ''
 
 $style ['stretch'] = false
 
 $style ['fitwidth'] = true
 
 $style ['cellfitalign'] = 'L'
 
 $style ['cellfitalign'] = 'C'
 
 $style ['cellfitalign'] = 'R'
 
 $style ['fgcolor'] = array(127,0,127)
 
 $style ['position'] = 'L'
 
 $style ['position'] = 'C'
 
 $style ['position'] = 'R'
 

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_027.php.

◆ $style [1/24]

Initial value:
'position' => '',
'align' => 'C',
'stretch' => false,
'fitwidth' => true,
'cellfitalign' => '',
'border' => true,
'hpadding' => 'auto',
'vpadding' => 'auto',
'fgcolor' => array(0,0,0),
'bgcolor' => false,
'text' => true,
'font' => 'helvetica',
'fontsize' => 8,
'stretchtext' => 4
)
Create styles array
The data for the language used.

Definition at line 88 of file example_027.php.

◆ $style [2/24]

$style[ 'bgcolor'] = array(255,255,240)

Definition at line 296 of file example_027.php.

◆ $style [3/24]

$style[ 'fgcolor'] = array(127,0,0)

Definition at line 297 of file example_027.php.

◆ $style [4/24]

$style[ 'position'] = 'L'

Definition at line 300 of file example_027.php.

◆ $style [5/24]

$style[ 'position'] = 'C'

Definition at line 306 of file example_027.php.

◆ $style [6/24]

$style[ 'position'] = 'R'

Definition at line 312 of file example_027.php.

◆ $style [7/24]

$style[ 'fgcolor'] = array(0,127,0)

Definition at line 318 of file example_027.php.

◆ $style [8/24]

$style[ 'position'] = ''

Definition at line 319 of file example_027.php.

◆ $style [9/24]

$style[ 'stretch'] = false

Definition at line 320 of file example_027.php.

◆ $style [10/24]

$style[ 'fitwidth'] = false

Definition at line 321 of file example_027.php.

◆ $style [11/24]

$style[ 'align'] = 'L'

Definition at line 324 of file example_027.php.

◆ $style [12/24]

$style[ 'align'] = 'C'

Definition at line 330 of file example_027.php.

◆ $style [13/24]

$style[ 'align'] = 'R'

Definition at line 336 of file example_027.php.

◆ $style [14/24]

$style[ 'fgcolor'] = array(0,64,127)

Definition at line 342 of file example_027.php.

◆ $style [15/24]

$style[ 'position'] = ''

Definition at line 343 of file example_027.php.

◆ $style [16/24]

$style[ 'stretch'] = false

Definition at line 344 of file example_027.php.

◆ $style [17/24]

$style[ 'fitwidth'] = true

Definition at line 345 of file example_027.php.

◆ $style [18/24]

$style[ 'cellfitalign'] = 'L'

Definition at line 348 of file example_027.php.

◆ $style [19/24]

$style[ 'cellfitalign'] = 'C'

Definition at line 354 of file example_027.php.

◆ $style [20/24]

$style[ 'cellfitalign'] = 'R'

Definition at line 360 of file example_027.php.

◆ $style [21/24]

$style[ 'fgcolor'] = array(127,0,127)

Definition at line 366 of file example_027.php.

◆ $style [22/24]

$style[ 'position'] = 'L'

Definition at line 369 of file example_027.php.

◆ $style [23/24]

$style[ 'position'] = 'C'

Definition at line 375 of file example_027.php.

◆ $style [24/24]

$style[ 'position'] = 'R'

Definition at line 381 of file example_027.php.

◆ $txt

$txt = "You can also export 1D barcodes in other formats (PNG, SVG, HTML). Check the examples inside the barcodes directory.\n"

Definition at line 79 of file example_027.php.