Table of contents
Source: config/tcpdf_config.php
Configuration file for TCPDF.
Constants
HEAD_MAGNIFICATION
Magnification factor for titles.
const HEAD_MAGNIFICATION = 1.1
Source: config/tcpdf_config.php:156
K_ALLOWED_TCPDF_TAGS
List of TCPDF methods that are allowed to be called using HTML syntax.
Note: each method name must end with surrounded with | (pipe) character. The constant K_TCPDF_CALLS_IN_HTML must be set to true. IMPORTANT: For security reason, disable this feature if you are allowing user HTML content.
const K_ALLOWED_TCPDF_TAGS = ''
Source: config/tcpdf_config.php:190
K_BLANK_IMAGE
Generic name for a blank image.
const K_BLANK_IMAGE = '_blank.png'
Source: config/tcpdf_config.php:56
K_CELL_HEIGHT_RATIO
Height of cell respect font height.
const K_CELL_HEIGHT_RATIO = 1.25
Source: config/tcpdf_config.php:161
K_SMALL_RATIO
Reduction factor for small font.
const K_SMALL_RATIO = 2 / 3
Source: config/tcpdf_config.php:171
K_TCPDF_CALLS_IN_HTML
If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
const K_TCPDF_CALLS_IN_HTML = \false
Source: config/tcpdf_config.php:182
K_TCPDF_THROW_EXCEPTION_ERROR
const K_TCPDF_THROW_EXCEPTION_ERROR = \false
Source: config/tcpdf_config.php:196
K_THAI_TOPCHARS
Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
const K_THAI_TOPCHARS = \true
Source: config/tcpdf_config.php:176
K_TIMEZONE
Default timezone for datetime functions
const K_TIMEZONE = 'UTC'
Source: config/tcpdf_config.php:202
K_TITLE_MAGNIFICATION
Title magnification respect main font size.
const K_TITLE_MAGNIFICATION = 1.3
Source: config/tcpdf_config.php:166
PDF_AUTHOR
Document author.
const PDF_AUTHOR = 'TCPDF'
Source: config/tcpdf_config.php:76
PDF_CREATOR
Document creator.
const PDF_CREATOR = 'TCPDF'
Source: config/tcpdf_config.php:71
PDF_FONT_MONOSPACED
Default monospaced font name.
const PDF_FONT_MONOSPACED = 'courier'
Source: config/tcpdf_config.php:146
PDF_FONT_NAME_DATA
Default data font name.
const PDF_FONT_NAME_DATA = 'helvetica'
Source: config/tcpdf_config.php:136
PDF_FONT_NAME_MAIN
Default main font name.
const PDF_FONT_NAME_MAIN = 'helvetica'
Source: config/tcpdf_config.php:126
PDF_FONT_SIZE_DATA
Default data font size.
const PDF_FONT_SIZE_DATA = 8
Source: config/tcpdf_config.php:141
PDF_FONT_SIZE_MAIN
Default main font size.
const PDF_FONT_SIZE_MAIN = 10
Source: config/tcpdf_config.php:131
PDF_HEADER_STRING
Header description string.
const PDF_HEADER_STRING = "Nicola Asuni - Tecnick.com\nhttps://tcpdf.org"
Source: config/tcpdf_config.php:86
PDF_HEADER_TITLE
Header title.
const PDF_HEADER_TITLE = 'TCPDF Example'
Source: config/tcpdf_config.php:81
PDF_IMAGE_SCALE_RATIO
Ratio used to adjust the conversion of pixels to user units.
const PDF_IMAGE_SCALE_RATIO = 1.25
Source: config/tcpdf_config.php:151
PDF_MARGIN_BOTTOM
Bottom margin.
const PDF_MARGIN_BOTTOM = 25
Source: config/tcpdf_config.php:111
PDF_MARGIN_FOOTER
Footer margin.
const PDF_MARGIN_FOOTER = 10
Source: config/tcpdf_config.php:101
PDF_MARGIN_HEADER
Header margin.
const PDF_MARGIN_HEADER = 5
Source: config/tcpdf_config.php:96
PDF_MARGIN_LEFT
Left margin.
const PDF_MARGIN_LEFT = 15
Source: config/tcpdf_config.php:116
PDF_MARGIN_RIGHT
Right margin.
const PDF_MARGIN_RIGHT = 15
Source: config/tcpdf_config.php:121
PDF_MARGIN_TOP
Top margin.
const PDF_MARGIN_TOP = 27
Source: config/tcpdf_config.php:106
PDF_PAGE_FORMAT
Page format.
const PDF_PAGE_FORMAT = 'A4'
Source: config/tcpdf_config.php:61
PDF_PAGE_ORIENTATION
Page orientation (P=portrait, L=landscape).
const PDF_PAGE_ORIENTATION = 'P'
Source: config/tcpdf_config.php:66
PDF_UNIT
Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
const PDF_UNIT = 'mm'
Source: config/tcpdf_config.php:91