files-config-tcpdf-config

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

    tcpdf_config.php

    Configuration file for TCPDF.

    Tags
    author

    Nicola Asuni

    version
    4.9.005
    since
    2004-10-27

    Table of Contents

    Constants

    HEAD_MAGNIFICATION  = 1.1
    Magnification factor for titles.
    K_ALLOWED_TCPDF_TAGS  = ''
    List of TCPDF methods that are allowed to be called using HTML syntax.
    K_BLANK_IMAGE  = '_blank.png'
    Generic name for a blank image.
    K_CELL_HEIGHT_RATIO  = 1.25
    Height of cell respect font height.
    K_SMALL_RATIO  = 2 / 3
    Reduction factor for small font.
    K_TCPDF_CALLS_IN_HTML  = \false
    If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
    K_TCPDF_THROW_EXCEPTION_ERROR  = \false
    If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
    K_THAI_TOPCHARS  = \true
    Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
    K_TIMEZONE  = 'UTC'
    Default timezone for datetime functions
    K_TITLE_MAGNIFICATION  = 1.3
    Title magnification respect main font size.
    PDF_AUTHOR  = 'TCPDF'
    Document author.
    PDF_CREATOR  = 'TCPDF'
    Document creator.
    PDF_FONT_MONOSPACED  = 'courier'
    Default monospaced font name.
    PDF_FONT_NAME_DATA  = 'helvetica'
    Default data font name.
    PDF_FONT_NAME_MAIN  = 'helvetica'
    Default main font name.
    PDF_FONT_SIZE_DATA  = 8
    Default data font size.
    PDF_FONT_SIZE_MAIN  = 10
    Default main font size.
    PDF_HEADER_STRING  = "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"
    Header description string.
    PDF_HEADER_TITLE  = 'TCPDF Example'
    Header title.
    PDF_IMAGE_SCALE_RATIO  = 1.25
    Ratio used to adjust the conversion of pixels to user units.
    PDF_MARGIN_BOTTOM  = 25
    Bottom margin.
    PDF_MARGIN_FOOTER  = 10
    Footer margin.
    PDF_MARGIN_HEADER  = 5
    Header margin.
    PDF_MARGIN_LEFT  = 15
    Left margin.
    PDF_MARGIN_RIGHT  = 15
    Right margin.
    PDF_MARGIN_TOP  = 27
    Top margin.
    PDF_PAGE_FORMAT  = 'A4'
    Page format.
    PDF_PAGE_ORIENTATION  = 'P'
    Page orientation (P=portrait, L=landscape).
    PDF_UNIT  = 'mm'
    Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].

    Constants

    HEAD_MAGNIFICATION

    Magnification factor for titles.

    public mixed HEAD_MAGNIFICATION = 1.1

    K_ALLOWED_TCPDF_TAGS

    List of TCPDF methods that are allowed to be called using HTML syntax.

    public mixed K_ALLOWED_TCPDF_TAGS = ''

    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.

    K_BLANK_IMAGE

    Generic name for a blank image.

    public mixed K_BLANK_IMAGE = '_blank.png'

    K_CELL_HEIGHT_RATIO

    Height of cell respect font height.

    public mixed K_CELL_HEIGHT_RATIO = 1.25

    K_SMALL_RATIO

    Reduction factor for small font.

    public mixed K_SMALL_RATIO = 2 / 3

    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.

    public mixed K_TCPDF_CALLS_IN_HTML = \false

    K_TCPDF_THROW_EXCEPTION_ERROR

    If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.

    public mixed K_TCPDF_THROW_EXCEPTION_ERROR = \false

    K_THAI_TOPCHARS

    Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.

    public mixed K_THAI_TOPCHARS = \true

    K_TIMEZONE

    Default timezone for datetime functions

    public mixed K_TIMEZONE = 'UTC'

    K_TITLE_MAGNIFICATION

    Title magnification respect main font size.

    public mixed K_TITLE_MAGNIFICATION = 1.3

    PDF_AUTHOR

    Document author.

    public mixed PDF_AUTHOR = 'TCPDF'

    PDF_CREATOR

    Document creator.

    public mixed PDF_CREATOR = 'TCPDF'

    PDF_FONT_MONOSPACED

    Default monospaced font name.

    public mixed PDF_FONT_MONOSPACED = 'courier'

    PDF_FONT_NAME_DATA

    Default data font name.

    public mixed PDF_FONT_NAME_DATA = 'helvetica'

    PDF_FONT_NAME_MAIN

    Default main font name.

    public mixed PDF_FONT_NAME_MAIN = 'helvetica'

    PDF_FONT_SIZE_DATA

    Default data font size.

    public mixed PDF_FONT_SIZE_DATA = 8

    PDF_FONT_SIZE_MAIN

    Default main font size.

    public mixed PDF_FONT_SIZE_MAIN = 10

    PDF_HEADER_STRING

    Header description string.

    public mixed PDF_HEADER_STRING = "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"

    PDF_HEADER_TITLE

    Header title.

    public mixed PDF_HEADER_TITLE = 'TCPDF Example'

    PDF_IMAGE_SCALE_RATIO

    Ratio used to adjust the conversion of pixels to user units.

    public mixed PDF_IMAGE_SCALE_RATIO = 1.25

    PDF_MARGIN_BOTTOM

    Bottom margin.

    public mixed PDF_MARGIN_BOTTOM = 25

    Footer margin.

    public mixed PDF_MARGIN_FOOTER = 10

    PDF_MARGIN_HEADER

    Header margin.

    public mixed PDF_MARGIN_HEADER = 5

    PDF_MARGIN_LEFT

    Left margin.

    public mixed PDF_MARGIN_LEFT = 15

    PDF_MARGIN_RIGHT

    Right margin.

    public mixed PDF_MARGIN_RIGHT = 15

    PDF_MARGIN_TOP

    Top margin.

    public mixed PDF_MARGIN_TOP = 27

    PDF_PAGE_FORMAT

    Page format.

    public mixed PDF_PAGE_FORMAT = 'A4'

    PDF_PAGE_ORIENTATION

    Page orientation (P=portrait, L=landscape).

    public mixed PDF_PAGE_ORIENTATION = 'P'

    PDF_UNIT

    Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].

    public mixed PDF_UNIT = 'mm'
    On this page
     

    © 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
    about - disclaimer - privacy