TCPDF

TCPDF API reference

Table of contents

Package: com\tecnick\tcpdf

File: tcpdf.php line 41

Tags

  • class: TCPDF [DEPRECATED] PHP class for generating PDF documents without requiring external extensions. Please use instead https://github.com/tecnickcom/tc-lib-pdf This class is a compatibility facade: it implements the legacy TCPDF public API as thin wrappers that delegate the actual PDF generation to the modern tc-lib-pdf engine (\Com\Tecnick\Pdf\Tcpdf). The legacy stateful cursor and page model is preserved by a small internal state layer. See MAPPING.md for the per-method delegation status. See: https://tcpdf.org
  • phpstan-import-type: StyleDataOpt from \Com\Tecnick\Pdf\Graph\Style
  • phpstan-import-type: TAnnotOpts from \Com\Tecnick\Pdf\Base

Methods

__construct()

File: tcpdf.php line 347

public __construct([mixed $_orientation = 'P' ][, mixed $_unit = 'mm' ][, mixed $_format = 'A4' ][, mixed $_unicode = true ][, mixed $_encoding = 'UTF-8' ][, mixed $_diskcache = false ][, mixed $_pdfa = false ]) : mixed

Parameters

  • $_orientation : mixed = ‘P’
  • $_unit : mixed = ‘mm’
  • $_format : mixed = ‘A4’
  • $_unicode : mixed = true
  • $_encoding : mixed = ‘UTF-8’
  • $_diskcache : mixed = false
  • $_pdfa : mixed = false

__destruct()

File: tcpdf.php line 393

public __destruct() : mixed

__get()

File: tcpdf.php line 402

public __get(mixed $name) : mixed

Parameters

  • $name : mixed

__isset()

File: tcpdf.php line 435

public __isset(mixed $name) : mixed

Parameters

  • $name : mixed

Tags

  • see: __get()

AcceptPageBreak()

File: tcpdf.php line 3305

public AcceptPageBreak() : bool

Return values

bool —

True when an automatic page break is allowed.

addEmptySignatureAppearance()

File: tcpdf.php line 5720

public addEmptySignatureAppearance([mixed $_x = 0 ][, mixed $_y = 0 ][, mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_page = -1 ][, mixed $_name = '' ]) : mixed

Parameters

  • $_x : mixed = 0
  • $_y : mixed = 0
  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_page : mixed = -1
  • $_name : mixed = ‘’

AddFont()

File: tcpdf.php line 3016

public AddFont(mixed $_family[, mixed $_style = '' ][, mixed $_fontfile = '' ][, mixed $_subset = 'default' ]) : mixed

Parameters

  • $_family : mixed
  • $_style : mixed = ‘’
  • $_fontfile : mixed = ‘’
  • $_subset : mixed = ‘default’

File: tcpdf.php line 4621

public addHtmlLink(mixed $_url, mixed $_name[, mixed $_fill = false ][, mixed $_firstline = false ][, mixed $_color = null ][, mixed $_style = -1 ][, mixed $_firstblock = false ]) : mixed

Parameters

  • $_url : mixed
  • $_name : mixed
  • $_fill : mixed = false
  • $_firstline : mixed = false
  • $_color : mixed = null
  • $_style : mixed = -1
  • $_firstblock : mixed = false

addHTMLTOC()

File: tcpdf.php line 7862

public addHTMLTOC([mixed $_page = null ][, mixed $_toc_name = 'TOC' ][, mixed $_templates = [] ][, mixed $_correct_align = true ][, mixed $_style = '' ][, mixed $_color = [0, 0, 0] ]) : mixed

Parameters

  • $_page : mixed = null
  • $_toc_name : mixed = ‘TOC’
  • $_templates : mixed = []
  • $_correct_align : mixed = true
  • $_style : mixed = ‘’
  • $_color : mixed = [0, 0, 0]

addJavascriptObject()

File: tcpdf.php line 5320

public addJavascriptObject(mixed $_script[, mixed $_onload = false ]) : mixed

Parameters

  • $_script : mixed
  • $_onload : mixed = false

File: tcpdf.php line 3184

public AddLink() : mixed

AddPage()

File: tcpdf.php line 2529

public AddPage([mixed $_orientation = '' ][, mixed $_format = '' ][, mixed $_keepmargins = false ][, mixed $_tocpage = false ]) : mixed

Parameters

  • $_orientation : mixed = ‘’
  • $_format : mixed = ‘’
  • $_keepmargins : mixed = false
  • $_tocpage : mixed = false

addPageRegion()

File: tcpdf.php line 8407

public addPageRegion(mixed $_region) : mixed

Parameters

  • $_region : mixed

AddSpotColor()

File: tcpdf.php line 2781

public AddSpotColor(mixed $_name, mixed $_c, mixed $_m, mixed $_y, mixed $_k) : mixed

Parameters

  • $_name : mixed
  • $_c : mixed
  • $_m : mixed
  • $_y : mixed
  • $_k : mixed

addTOC()

File: tcpdf.php line 7748

public addTOC([mixed $_page = null ][, mixed $_numbersfont = '' ][, mixed $_filler = '.' ][, mixed $_toc_name = 'TOC' ][, mixed $_style = '' ][, mixed $_color = [0, 0, 0] ]) : mixed

Parameters

  • $_page : mixed = null
  • $_numbersfont : mixed = ‘’
  • $_filler : mixed = ‘.’
  • $_toc_name : mixed = ‘TOC’
  • $_style : mixed = ‘’
  • $_color : mixed = [0, 0, 0]

addTOCPage()

File: tcpdf.php line 2519

public addTOCPage([mixed $_orientation = '' ][, mixed $_format = '' ][, mixed $_keepmargins = false ]) : mixed

Parameters

  • $_orientation : mixed = ‘’
  • $_format : mixed = ‘’
  • $_keepmargins : mixed = false

Annotation()

File: tcpdf.php line 3214

public Annotation(mixed $_x, mixed $_y, mixed $_w, mixed $_h, mixed $_text[, mixed $_opt = ['Subtype' => 'Text'] ][, mixed $_spaces = 0 ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_text : mixed
  • $_opt : mixed = [‘Subtype’ => ‘Text’]
  • $_spaces : mixed = 0

Arrow()

File: tcpdf.php line 5230

public Arrow(mixed $_x0, mixed $_y0, mixed $_x1, mixed $_y1[, mixed $_head_style = 0 ][, mixed $_arm_size = 5 ][, mixed $_arm_angle = 15 ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_x1 : mixed
  • $_y1 : mixed
  • $_head_style : mixed = 0
  • $_arm_size : mixed = 5
  • $_arm_angle : mixed = 15

Bookmark()

File: tcpdf.php line 5281

public Bookmark(mixed $_txt[, mixed $_level = 0 ][, mixed $_y = -1 ][, mixed $_page = '' ][, mixed $_style = '' ][, mixed $_color = [0, 0, 0] ][, mixed $_x = -1 ][, mixed $_link = '' ]) : mixed

Parameters

  • $_txt : mixed
  • $_level : mixed = 0
  • $_y : mixed = -1
  • $_page : mixed = ‘’
  • $_style : mixed = ‘’
  • $_color : mixed = [0, 0, 0]
  • $_x : mixed = -1
  • $_link : mixed = ‘’

Button()

File: tcpdf.php line 5586

public Button(mixed $_name, mixed $_w, mixed $_h, mixed $_caption, mixed $_action[, mixed $_prop = [] ][, mixed $_opt = [] ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_js = false ]) : mixed

Parameters

  • $_name : mixed
  • $_w : mixed
  • $_h : mixed
  • $_caption : mixed
  • $_action : mixed
  • $_prop : mixed = []
  • $_opt : mixed = []
  • $_x : mixed = null
  • $_y : mixed = null
  • $_js : mixed = false

Cell()

File: tcpdf.php line 3310

public Cell(mixed $_w[, mixed $_h = 0 ][, mixed $_txt = '' ][, mixed $_border = 0 ][, mixed $_ln = 0 ][, mixed $_align = '' ][, mixed $_fill = false ][, mixed $_link = '' ][, mixed $_stretch = 0 ][, mixed $_ignore_min_height = false ][, mixed $_calign = 'T' ][, mixed $_valign = 'M' ]) : mixed

Parameters

  • $_w : mixed
  • $_h : mixed = 0
  • $_txt : mixed = ‘’
  • $_border : mixed = 0
  • $_ln : mixed = 0
  • $_align : mixed = ‘’
  • $_fill : mixed = false
  • $_link : mixed = ‘’
  • $_stretch : mixed = 0
  • $_ignore_min_height : mixed = false
  • $_calign : mixed = ‘T’
  • $_valign : mixed = ‘M’

CheckBox()

File: tcpdf.php line 5549

public CheckBox(mixed $_name, mixed $_w[, mixed $_checked = false ][, mixed $_prop = [] ][, mixed $_opt = [] ][, mixed $_onvalue = 'Yes' ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_js = false ]) : mixed

Parameters

  • $_name : mixed
  • $_w : mixed
  • $_checked : mixed = false
  • $_prop : mixed = []
  • $_opt : mixed = []
  • $_onvalue : mixed = ‘Yes’
  • $_x : mixed = null
  • $_y : mixed = null
  • $_js : mixed = false

Circle()

File: tcpdf.php line 5065

public Circle(mixed $_x0, mixed $_y0, mixed $_r[, mixed $_angstr = 0 ][, mixed $_angend = 360 ][, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ][, mixed $_nc = 2 ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_r : mixed
  • $_angstr : mixed = 0
  • $_angend : mixed = 360
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []
  • $_nc : mixed = 2

Close()

File: tcpdf.php line 2431

public Close() : mixed

colorRegistrationBar()

File: tcpdf.php line 6002

public colorRegistrationBar(mixed $_x, mixed $_y, mixed $_w, mixed $_h[, mixed $_transition = true ][, mixed $_vertical = false ][, mixed $_colors = 'A,R,G,B,C,M,Y,K' ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_transition : mixed = true
  • $_vertical : mixed = false
  • $_colors : mixed = ‘A,R,G,B,C,M,Y,K’

ComboBox()

File: tcpdf.php line 5520

public ComboBox(mixed $_name, mixed $_w, mixed $_h, mixed $_values[, mixed $_prop = [] ][, mixed $_opt = [] ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_js = false ]) : mixed

Parameters

  • $_name : mixed
  • $_w : mixed
  • $_h : mixed
  • $_values : mixed
  • $_prop : mixed = []
  • $_opt : mixed = []
  • $_x : mixed = null
  • $_y : mixed = null
  • $_js : mixed = false

commitTransaction()

File: tcpdf.php line 7904

public commitTransaction() : mixed

CoonsPatchMesh()

File: tcpdf.php line 6120

public CoonsPatchMesh(mixed $_x, mixed $_y, mixed $_w, mixed $_h[, mixed $_col1 = [] ][, mixed $_col2 = [] ][, mixed $_col3 = [] ][, mixed $_col4 = [] ][, mixed $_coords = [0.0, 0.0, 0.33, 0.0, 0.67, 0.0, 1.0, 0.0, 1.0, 0.33, 1.0, 0.67, 1.0, 1.0, 0.67, 1.0, 0.33, 1.0, 0.0, 1.0, 0.0, 0.67, 0.0, 0.33] ][, mixed $_coords_min = 0 ][, mixed $_coords_max = 1 ][, mixed $_antialias = false ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_col1 : mixed = []
  • $_col2 : mixed = []
  • $_col3 : mixed = []
  • $_col4 : mixed = []
  • $_coords : mixed = [0.0, 0.0, 0.33, 0.0, 0.67, 0.0, 1.0, 0.0, 1.0, 0.33, 1.0, 0.67, 1.0, 1.0, 0.67, 1.0, 0.33, 1.0, 0.0, 1.0, 0.0, 0.67, 0.0, 0.33]
  • $_coords_min : mixed = 0
  • $_coords_max : mixed = 1
  • $_antialias : mixed = false

copyPage()

File: tcpdf.php line 7724

public copyPage([mixed $_page = 0 ]) : mixed

Parameters

  • $_page : mixed = 0

cropMark()

File: tcpdf.php line 6050

public cropMark(mixed $_x, mixed $_y, mixed $_w, mixed $_h[, mixed $_type = 'T,R,B,L' ][, mixed $_color = [100, 100, 100, 100, 'All'] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_type : mixed = ‘T,R,B,L’
  • $_color : mixed = [100, 100, 100, 100, ‘All’]

Curve()

File: tcpdf.php line 4983

public Curve(mixed $_x0, mixed $_y0, mixed $_x1, mixed $_y1, mixed $_x2, mixed $_y2, mixed $_x3, mixed $_y3[, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_x1 : mixed
  • $_y1 : mixed
  • $_x2 : mixed
  • $_y2 : mixed
  • $_x3 : mixed
  • $_y3 : mixed
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []

deletePage()

File: tcpdf.php line 7713

public deletePage(mixed $_page) : mixed

Parameters

  • $_page : mixed

Ellipse()

File: tcpdf.php line 5032

public Ellipse(mixed $_x0, mixed $_y0, mixed $_rx[, mixed $_ry = 0 ][, mixed $_angle = 0 ][, mixed $_astart = 0 ][, mixed $_afinish = 360 ][, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ][, mixed $_nc = 2 ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_rx : mixed
  • $_ry : mixed = 0
  • $_angle : mixed = 0
  • $_astart : mixed = 0
  • $_afinish : mixed = 360
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []
  • $_nc : mixed = 2

EmbedFile()

File: tcpdf.php line 3242

public EmbedFile(mixed $_opt) : mixed

Parameters

  • $_opt : mixed

EmbedFileFromString()

File: tcpdf.php line 3258

public EmbedFileFromString(mixed $_filename, mixed $_content) : mixed

Parameters

  • $_filename : mixed
  • $_content : mixed

endLayer()

File: tcpdf.php line 5885

public endLayer() : mixed

endPage()

File: tcpdf.php line 2545

public endPage([mixed $_tocpage = false ]) : mixed

Parameters

  • $_tocpage : mixed = false

endTemplate()

File: tcpdf.php line 8320

public endTemplate() : mixed

endTOCPage()

File: tcpdf.php line 2524

public endTOCPage() : mixed

Error()

File: tcpdf.php line 2413

public Error(mixed $_msg) : mixed

Parameters

  • $_msg : mixed

fixHTMLCode()

File: tcpdf.php line 7053

public fixHTMLCode(mixed $_html[, mixed $_default_css = '' ][, mixed $_tagvs = null ][, mixed $_tidy_options = null ]) : mixed

Parameters

  • $_html : mixed
  • $_default_css : mixed = ‘’
  • $_tagvs : mixed = null
  • $_tidy_options : mixed = null

File: tcpdf.php line 2741

public Footer() : mixed

getAbsFontMeasure()

File: tcpdf.php line 3106

public getAbsFontMeasure(mixed $_s) : mixed

Parameters

  • $_s : mixed

GetAbsX()

File: tcpdf.php line 4363

public GetAbsX() : float

Return values

float —

Absolute X coordinate of the cursor in user units.

getAliasNbPages()

File: tcpdf.php line 5780

public getAliasNbPages() : string

Return values

string —

Total number of pages, or the legacy alias placeholder.

getAliasNumPage()

File: tcpdf.php line 5792

public getAliasNumPage() : string

Return values

string —

Current page number, or the legacy alias placeholder.

getAliasRightShift()

File: tcpdf.php line 5772

public getAliasRightShift() : string

Return values

string —

Right-shift compensation prefix (unused by the facade).

getAllSpotColors()

File: tcpdf.php line 2776

public getAllSpotColors() : mixed

getAlpha()

File: tcpdf.php line 5957

public getAlpha() : mixed

GetArrStringWidth()

File: tcpdf.php line 2948

public GetArrStringWidth(array<int, int|string> $_sa[, string $_fontname = '' ][, string $_fontstyle = '' ][, int|float $_fontsize = 0 ][, bool $_getarray = false ]) : float|array<int, float>

Parameters

  • $_sa : array<int, int|string>: Characters (codepoints or strings).
  • $_fontname : string = ‘’: Optional family to measure with (default: current font).
  • $_fontstyle : string = ‘’: Optional font style.
  • $_fontsize : int|float = 0: Optional font size in points.
  • $_getarray : bool = false: When true return an array of per-character widths.

Return values

float|array<int, float> —

Total width, or per-character widths.

getAutoPageBreak()

File: tcpdf.php line 2354

public getAutoPageBreak() : bool

Return values

bool —

Automatic page break state.

getBarcode()

File: tcpdf.php line 6402

public getBarcode() : string

Return values

string —

Document barcode string.

getBreakMargin()

File: tcpdf.php line 2211

public getBreakMargin([int|null $_pagenum = null ]) : float

Parameters

  • $_pagenum : int|null = null: Page number (1-based) or null for the current page.

Return values

float —

Break margin in user units.

getCellHeight()

File: tcpdf.php line 2103

public getCellHeight(int|float $_fontsize[, bool $_padding = true ]) : float

Parameters

  • $_fontsize : int|float: Font size in user units.
  • $_padding : bool = true: When true include the top and bottom cell padding.

Return values

float —

Cell height in user units.

getCellHeightRatio()

File: tcpdf.php line 5981

public getCellHeightRatio() : float

Return values

float —

Cell height ratio.

getCellMargins()

File: tcpdf.php line 2337

public getCellMargins() : array{L: float, T: float, R: float, B: float}

Return values

array{L: float, T: float, R: float, B: float} —

Cell margins in user units.

getCellPaddings()

File: tcpdf.php line 2303

public getCellPaddings() : array{L: float, T: float, R: float, B: float}

Return values

array{L: float, T: float, R: float, B: float} —

Cell padding in user units.

getCharBBox()

File: tcpdf.php line 3111

public getCharBBox(mixed $_char) : mixed

Parameters

  • $_char : mixed

GetCharWidth()

File: tcpdf.php line 2994

public GetCharWidth(mixed $_char[, mixed $_notlast = true ]) : mixed

Parameters

  • $_char : mixed
  • $_notlast : mixed = true

getColumn()

File: tcpdf.php line 8163

public getColumn() : mixed

getCSSBorderMargin()

File: tcpdf.php line 7068

public getCSSBorderMargin(mixed $_cssbspace[, mixed $_width = 0 ]) : mixed

Parameters

  • $_cssbspace : mixed
  • $_width : mixed = 0

getCSSMargin()

File: tcpdf.php line 7063

public getCSSMargin(mixed $_cssmargin[, mixed $_width = 0 ]) : mixed

Parameters

  • $_cssmargin : mixed
  • $_width : mixed = 0

getCSSPadding()

File: tcpdf.php line 7058

public getCSSPadding(mixed $_csspadding[, mixed $_width = 0 ]) : mixed

Parameters

  • $_csspadding : mixed
  • $_width : mixed = 0

getDestination()

File: tcpdf.php line 5263

public getDestination() : mixed

getDocCreationTimestamp()

File: tcpdf.php line 4551

public getDocCreationTimestamp() : mixed

getDocModificationTimestamp()

File: tcpdf.php line 4556

public getDocModificationTimestamp() : mixed

getFontAscent()

File: tcpdf.php line 3127

public getFontAscent(mixed $_font[, mixed $_style = '' ][, mixed $_size = 0 ]) : mixed

Parameters

  • $_font : mixed
  • $_style : mixed = ‘’
  • $_size : mixed = 0

getFontBBox()

File: tcpdf.php line 3099

public getFontBBox() : mixed

getFontDescent()

File: tcpdf.php line 3118

public getFontDescent(mixed $_font[, mixed $_style = '' ][, mixed $_size = 0 ]) : mixed

Parameters

  • $_font : mixed
  • $_style : mixed = ‘’
  • $_size : mixed = 0

getFontFamily()

File: tcpdf.php line 7036

public getFontFamily() : string

Return values

string —

Current font family.

getFontFamilyName()

File: tcpdf.php line 8297

public getFontFamilyName(mixed $_fontfamily) : mixed

Parameters

  • $_fontfamily : mixed

getFontSize()

File: tcpdf.php line 7020

public getFontSize() : float

Return values

float —

Current font size in user units.

getFontSizePt()

File: tcpdf.php line 7028

public getFontSizePt() : float

Return values

float —

Current font size in points.

getFontSpacing()

File: tcpdf.php line 8382

public getFontSpacing() : float

Return values

float —

Extra font spacing in user units.

getFontStretching()

File: tcpdf.php line 8368

public getFontStretching() : float

Return values

float —

Font stretching percentage.

getFontStyle()

File: tcpdf.php line 7044

public getFontStyle() : string

Return values

string —

Current font style letters including decorations.

getFontSubsetting()

File: tcpdf.php line 8272

public getFontSubsetting() : bool

Return values

bool —

Default font subsetting mode.

getFooterFont()

File: tcpdf.php line 4592

public getFooterFont() : array{0: string, 1: string, 2: float}

Return values

array{0: string, 1: string, 2: float} —

Footer font: family, style, size in points.

getFooterMargin()

File: tcpdf.php line 2636

public getFooterMargin() : float

Return values

float —

Footer margin in user units.

getFormDefaultProp()

File: tcpdf.php line 5335

public getFormDefaultProp() : mixed

getGroupPageNo()

File: tcpdf.php line 5839

public getGroupPageNo() : int

Return values

int —

Current page number within its page group.

getGroupPageNoFormatted()

File: tcpdf.php line 5865

public getGroupPageNoFormatted() : mixed

getHeaderData()

File: tcpdf.php line 2610

public getHeaderData() : array{logo: string, logo_width: float, title: string, string: string, text_color: array, line_color: array}

Return values

array{logo: string, logo_width: float, title: string, string: string, text_color: array, line_color: array} —

Header data.

getHeaderFont()

File: tcpdf.php line 4574

public getHeaderFont() : array{0: string, 1: string, 2: float}

Return values

array{0: string, 1: string, 2: float} —

Header font: family, style, size in points.

getHeaderMargin()

File: tcpdf.php line 2623

public getHeaderMargin() : float

Return values

float —

Header margin in user units.

getHTMLFontUnits()

File: tcpdf.php line 7098

public getHTMLFontUnits(mixed $_val[, mixed $_refsize = 12 ][, mixed $_parent_size = 12 ][, mixed $_defaultunit = 'pt' ]) : mixed

Parameters

  • $_val : mixed
  • $_refsize : mixed = 12
  • $_parent_size : mixed = 12
  • $_defaultunit : mixed = ‘pt’

getHTMLUnitToUnits()

File: tcpdf.php line 7660

public getHTMLUnitToUnits(mixed $_htmlval[, mixed $_refsize = 1 ][, mixed $_defaultunit = 'px' ][, mixed $_points = false ]) : mixed

Parameters

  • $_htmlval : mixed
  • $_refsize : mixed = 1
  • $_defaultunit : mixed = ‘px’
  • $_points : mixed = false

getImageRBX()

File: tcpdf.php line 2660

public getImageRBX() : float

Return values

float —

Right-bottom X coordinate of the last inserted image.

getImageRBY()

File: tcpdf.php line 2668

public getImageRBY() : float

Return values

float —

Right-bottom Y coordinate of the last inserted image.

getImageScale()

File: tcpdf.php line 2134

public getImageScale() : float

Return values

float —

Image scale ratio.

getLastH()

File: tcpdf.php line 2121

public getLastH() : float

Return values

float —

Height of the last printed cell in user units.

GetLineWidth()

File: tcpdf.php line 4866

public GetLineWidth() : float

Return values

float —

Current line width in user units.

getMargins()

File: tcpdf.php line 6992

public getMargins() : mixed

getNumberOfColumns()

File: tcpdf.php line 8172

public getNumberOfColumns() : mixed

GetNumChars()

File: tcpdf.php line 3011

public GetNumChars(mixed $_s) : mixed

Parameters

  • $_s : mixed

getNumLines()

File: tcpdf.php line 3802

public getNumLines(mixed $_txt[, mixed $_w = 0 ][, mixed $_reseth = false ][, mixed $_autopadding = true ][, mixed $_cellpadding = null ][, mixed $_border = 0 ]) : int

Parameters

  • $_txt : mixed
  • $_w : mixed = 0
  • $_reseth : mixed = false
  • $_autopadding : mixed = true
  • $_cellpadding : mixed = null
  • $_border : mixed = 0

Return values

int —

Estimated number of lines.

getNumPages()

File: tcpdf.php line 2510

public getNumPages() : int

Return values

int —

Total number of pages.

getOriginalMargins()

File: tcpdf.php line 7009

public getOriginalMargins() : mixed

getOverprint()

File: tcpdf.php line 5925

public getOverprint() : mixed

getPage()

File: tcpdf.php line 2498

public getPage() : int

Return values

int —

Current page number (1-based, 0 when no page exists).

getPageDimensions()

File: tcpdf.php line 2139

public getPageDimensions([mixed $_pagenum = null ]) : mixed

Parameters

  • $_pagenum : mixed = null

getPageGroupAlias()

File: tcpdf.php line 5804

public getPageGroupAlias() : string

Return values

string —

Total pages in the current group, or the legacy alias placeholder.

getPageHeight()

File: tcpdf.php line 2189

public getPageHeight([int|null $_pagenum = null ]) : float

Parameters

  • $_pagenum : int|null = null: Page number (1-based) or null for the current page.

Return values

float —

Page height in user units.

getPageNumGroupAlias()

File: tcpdf.php line 5827

public getPageNumGroupAlias() : string

Return values

string —

Page number in the current group, or the legacy alias placeholder.

getPageRegions()

File: tcpdf.php line 8391

public getPageRegions() : mixed

getPageWidth()

File: tcpdf.php line 2167

public getPageWidth([int|null $_pagenum = null ]) : float

Parameters

  • $_pagenum : int|null = null: Page number (1-based) or null for the current page.

Return values

float —

Page width in user units.

getPDFData()

File: tcpdf.php line 4506

public getPDFData() : mixed

getPDFFilename()

File: tcpdf.php line 4521

public getPDFFilename() : string

Not part of the legacy TCPDF API. After Output() with the ‘F’, ‘FI’ or ‘FD’ destination this is the base name of the file that was written, which may differ from the name passed in.

Return values

string

getRawCharWidth()

File: tcpdf.php line 3005

public getRawCharWidth(int|string $_char) : float

Parameters

  • $_char : int|string: Character codepoint or string.

Return values

float —

Character width in user units.

getRTL()

File: tcpdf.php line 2065

public getRTL() : bool

Return values

bool —

Current RTL document direction.

getScaleFactor()

File: tcpdf.php line 2225

public getScaleFactor() : float

Return values

float —

Document scale factor (number of points in user unit).

getStringHeight()

File: tcpdf.php line 3829

public getStringHeight(mixed $_w, mixed $_txt[, mixed $_reseth = false ][, mixed $_autopadding = true ][, mixed $_cellpadding = null ][, mixed $_border = 0 ]) : mixed

Parameters

  • $_w : mixed
  • $_txt : mixed
  • $_reseth : mixed = false
  • $_autopadding : mixed = true
  • $_cellpadding : mixed = null
  • $_border : mixed = 0

GetStringWidth()

File: tcpdf.php line 2926

public GetStringWidth(string $_s[, string $_fontname = '' ][, string $_fontstyle = '' ][, int|float $_fontsize = 0 ][, bool $_getarray = false ]) : float|array<int, float>

Parameters

  • $_s : string: Input string.
  • $_fontname : string = ‘’: Optional family to measure with (default: current font).
  • $_fontstyle : string = ‘’: Optional font style.
  • $_fontsize : int|float = 0: Optional font size in points.
  • $_getarray : bool = false: When true return an array of per-character widths.

Return values

float|array<int, float> —

Total width, or per-character widths.

getTextShadow()

File: tcpdf.php line 8217

public getTextShadow() : array{enabled: bool, depth_w: int|float, depth_h: int|float, color: mixed, opacity: int|float, blend_mode: string}

Return values

array{enabled: bool, depth_w: int|float, depth_h: int|float, color: mixed, opacity: int|float, blend_mode: string} —

Text shadow parameters.

GetX()

File: tcpdf.php line 4355

public GetX() : float

Return values

float —

Relative X coordinate of the cursor in user units.

GetY()

File: tcpdf.php line 4371

public GetY() : float

Return values

float —

Y coordinate of the cursor in user units.

Gradient()

File: tcpdf.php line 6244

public Gradient(mixed $_type, mixed $_coords, mixed $_stops[, mixed $_background = [] ][, mixed $_antialias = false ]) : mixed

Parameters

  • $_type : mixed
  • $_coords : mixed
  • $_stops : mixed
  • $_background : mixed = []
  • $_antialias : mixed = false

Header()

File: tcpdf.php line 2683

public Header() : mixed

hyphenateText()

File: tcpdf.php line 8222

public hyphenateText(mixed $_text, mixed $_patterns[, mixed $_dictionary = [] ][, mixed $_leftmin = 1 ][, mixed $_rightmin = 2 ][, mixed $_charmin = 1 ][, mixed $_charmax = 8 ]) : mixed

Parameters

  • $_text : mixed
  • $_patterns : mixed
  • $_dictionary : mixed = []
  • $_leftmin : mixed = 1
  • $_rightmin : mixed = 2
  • $_charmin : mixed = 1
  • $_charmax : mixed = 8

Image()

File: tcpdf.php line 4088

public Image(mixed $_file[, mixed $_x = null ][, mixed $_y = null ][, mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_type = '' ][, mixed $_link = '' ][, mixed $_align = '' ][, mixed $_resize = false ][, mixed $_dpi = 300 ][, mixed $_palign = '' ][, mixed $_ismask = false ][, mixed $_imgmask = false ][, mixed $_border = 0 ][, mixed $_fitbox = false ][, mixed $_hidden = false ][, mixed $_fitonpage = false ][, mixed $_alt = false ][, mixed $_altimgs = [] ]) : mixed

Parameters

  • $_file : mixed
  • $_x : mixed = null
  • $_y : mixed = null
  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_type : mixed = ‘’
  • $_link : mixed = ‘’
  • $_align : mixed = ‘’
  • $_resize : mixed = false
  • $_dpi : mixed = 300
  • $_palign : mixed = ‘’
  • $_ismask : mixed = false
  • $_imgmask : mixed = false
  • $_border : mixed = 0
  • $_fitbox : mixed = false
  • $_hidden : mixed = false
  • $_fitonpage : mixed = false
  • $_alt : mixed = false
  • $_altimgs : mixed = []

ImageEps()

File: tcpdf.php line 6347

public ImageEps(mixed $_file[, mixed $_x = null ][, mixed $_y = null ][, mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_link = '' ][, mixed $_useBoundingBox = true ][, mixed $_align = '' ][, mixed $_palign = '' ][, mixed $_border = 0 ][, mixed $_fitonpage = false ][, mixed $_fixoutvals = false ]) : mixed

The modern engine has no PostScript interpreter: convert EPS/AI artwork to SVG (e.g. inkscape file.eps --export-filename=file.svg or mutool convert) and use ImageSVG() instead. As a convenience, SVG files passed to this method are dispatched to ImageSVG() and raster files to Image(); EPS/AI input is silently skipped.

Parameters

  • $_file : mixed
  • $_x : mixed = null
  • $_y : mixed = null
  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_link : mixed = ‘’
  • $_useBoundingBox : mixed = true
  • $_align : mixed = ‘’
  • $_palign : mixed = ‘’
  • $_border : mixed = 0
  • $_fitonpage : mixed = false
  • $_fixoutvals : mixed = false

ImageSVG()

File: tcpdf.php line 8547

public ImageSVG(mixed $_file[, mixed $_x = null ][, mixed $_y = null ][, mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_link = '' ][, mixed $_align = '' ][, mixed $_palign = '' ][, mixed $_border = 0 ][, mixed $_fitonpage = false ]) : mixed

Parameters

  • $_file : mixed
  • $_x : mixed = null
  • $_y : mixed = null
  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_link : mixed = ‘’
  • $_align : mixed = ‘’
  • $_palign : mixed = ‘’
  • $_border : mixed = 0
  • $_fitonpage : mixed = false

IncludeJS()

File: tcpdf.php line 5315

public IncludeJS(mixed $_script) : mixed

Parameters

  • $_script : mixed

isCharDefined()

File: tcpdf.php line 3136

public isCharDefined(mixed $_char[, mixed $_font = '' ][, mixed $_style = '' ]) : mixed

Parameters

  • $_char : mixed
  • $_font : mixed = ‘’
  • $_style : mixed = ‘’

isRTLTextDir()

File: tcpdf.php line 2085

public isRTLTextDir() : bool

Return values

bool —

True when the current text direction is right-to-left.

isUnicodeFont()

File: tcpdf.php line 8292

public isUnicodeFont() : mixed

lastPage()

File: tcpdf.php line 2490

public lastPage([mixed $_resetmargins = false ]) : mixed

Parameters

  • $_resetmargins : mixed = false

Line()

File: tcpdf.php line 4892

public Line(mixed $_x1, mixed $_y1, mixed $_x2, mixed $_y2[, mixed $_style = [] ]) : mixed

Parameters

  • $_x1 : mixed
  • $_y1 : mixed
  • $_x2 : mixed
  • $_y2 : mixed
  • $_style : mixed = []

LinearGradient()

File: tcpdf.php line 6086

public LinearGradient(mixed $_x, mixed $_y, mixed $_w, mixed $_h[, mixed $_col1 = [] ][, mixed $_col2 = [] ][, mixed $_coords = [0, 0, 1, 0] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_col1 : mixed = []
  • $_col2 : mixed = []
  • $_coords : mixed = [0, 0, 1, 0]

File: tcpdf.php line 3209

public Link(mixed $_x, mixed $_y, mixed $_w, mixed $_h, mixed $_link[, mixed $_spaces = 0 ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_link : mixed
  • $_spaces : mixed = 0

ListBox()

File: tcpdf.php line 5491

public ListBox(mixed $_name, mixed $_w, mixed $_h, mixed $_values[, mixed $_prop = [] ][, mixed $_opt = [] ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_js = false ]) : mixed

Parameters

  • $_name : mixed
  • $_w : mixed
  • $_h : mixed
  • $_values : mixed
  • $_prop : mixed = []
  • $_opt : mixed = []
  • $_x : mixed = null
  • $_y : mixed = null
  • $_js : mixed = false

Ln()

File: tcpdf.php line 4342

public Ln([mixed $_h = null ][, mixed $_cell = false ]) : mixed

Parameters

  • $_h : mixed = null
  • $_cell : mixed = false

MirrorH()

File: tcpdf.php line 4775

public MirrorH([mixed $_x = null ]) : mixed

Parameters

  • $_x : mixed = null

MirrorL()

File: tcpdf.php line 4793

public MirrorL([mixed $_angle = 0 ][, mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_angle : mixed = 0
  • $_x : mixed = null
  • $_y : mixed = null

MirrorP()

File: tcpdf.php line 4785

public MirrorP([mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_x : mixed = null
  • $_y : mixed = null

MirrorV()

File: tcpdf.php line 4780

public MirrorV([mixed $_y = null ]) : mixed

Parameters

  • $_y : mixed = null

movePage()

File: tcpdf.php line 7701

public movePage(mixed $_frompage, mixed $_topage) : mixed

Parameters

  • $_frompage : mixed
  • $_topage : mixed

MultiCell()

File: tcpdf.php line 3484

public MultiCell(mixed $_w, mixed $_h, mixed $_txt[, mixed $_border = 0 ][, mixed $_align = 'J' ][, mixed $_fill = false ][, mixed $_ln = 1 ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_reseth = true ][, mixed $_stretch = 0 ][, mixed $_ishtml = false ][, mixed $_autopadding = true ][, mixed $_maxh = 0 ][, mixed $_valign = 'T' ][, mixed $_fitcell = false ]) : mixed

Parameters

  • $_w : mixed
  • $_h : mixed
  • $_txt : mixed
  • $_border : mixed = 0
  • $_align : mixed = ‘J’
  • $_fill : mixed = false
  • $_ln : mixed = 1
  • $_x : mixed = null
  • $_y : mixed = null
  • $_reseth : mixed = true
  • $_stretch : mixed = 0
  • $_ishtml : mixed = false
  • $_autopadding : mixed = true
  • $_maxh : mixed = 0
  • $_valign : mixed = ‘T’
  • $_fitcell : mixed = false

Open()

File: tcpdf.php line 2426

public Open() : mixed

Output()

File: tcpdf.php line 4437

public Output([mixed $_name = 'doc.pdf' ][, mixed $_dest = 'I' ]) : string

For ‘F’, ‘FI’ and ‘FD’ the name is a full or relative file path, unlike \Com\Tecnick\Pdf\Output::savePDF(), which takes a directory. The file name is sanitized by the engine, so the file written may differ from the name given: getPDFFilename() returns the name actually used. The output directory must be inside an allowed path (K_ALLOWED_PATHS).

Parameters

  • $_name : mixed = ‘doc.pdf’: File name.
  • $_dest : mixed = ‘I’: Destination: I, D, F, S, FI, FD or E. A boolean is accepted for legacy callers: true is D, false is F.

Return values

string

PageNo()

File: tcpdf.php line 2767

public PageNo() : int

Return values

int —

Current page number.

PageNoFormatted()

File: tcpdf.php line 5870

public PageNoFormatted() : mixed

PieSector()

File: tcpdf.php line 6274

public PieSector(mixed $_xc, mixed $_yc, mixed $_r, mixed $_a, mixed $_b[, mixed $_style = 'FD' ][, mixed $_cw = true ][, mixed $_o = 90 ]) : mixed

Parameters

  • $_xc : mixed
  • $_yc : mixed
  • $_r : mixed
  • $_a : mixed
  • $_b : mixed
  • $_style : mixed = ‘FD’
  • $_cw : mixed = true
  • $_o : mixed = 90

PieSectorXY()

File: tcpdf.php line 6298

public PieSectorXY(mixed $_xc, mixed $_yc, mixed $_rx, mixed $_ry, mixed $_a, mixed $_b[, mixed $_style = 'FD' ][, mixed $_cw = false ][, mixed $_o = 0 ][, mixed $_nc = 2 ]) : mixed

Parameters

  • $_xc : mixed
  • $_yc : mixed
  • $_rx : mixed
  • $_ry : mixed
  • $_a : mixed
  • $_b : mixed
  • $_style : mixed = ‘FD’
  • $_cw : mixed = false
  • $_o : mixed = 0
  • $_nc : mixed = 2

pixelsToUnits()

File: tcpdf.php line 4657

public pixelsToUnits(mixed $_px) : mixed

Parameters

  • $_px : mixed

Polycurve()

File: tcpdf.php line 5011

public Polycurve(mixed $_x0, mixed $_y0, mixed $_segments[, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_segments : mixed
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []

Polygon()

File: tcpdf.php line 5105

public Polygon(mixed $_p[, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ][, mixed $_closed = true ]) : mixed

Parameters

  • $_p : mixed
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []
  • $_closed : mixed = true

PolyLine()

File: tcpdf.php line 5089

public PolyLine(mixed $_p[, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ]) : mixed

Parameters

  • $_p : mixed
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []

printTemplate()

File: tcpdf.php line 8332

public printTemplate(mixed $_id[, mixed $_x = null ][, mixed $_y = null ][, mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_align = '' ][, mixed $_palign = '' ][, mixed $_fitonpage = false ]) : mixed

Parameters

  • $_id : mixed
  • $_x : mixed = null
  • $_y : mixed = null
  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_align : mixed = ‘’
  • $_palign : mixed = ‘’
  • $_fitonpage : mixed = false

RadialGradient()

File: tcpdf.php line 6103

public RadialGradient(mixed $_x, mixed $_y, mixed $_w, mixed $_h[, mixed $_col1 = [] ][, mixed $_col2 = [] ][, mixed $_coords = [0.5, 0.5, 0.5, 0.5, 1] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_col1 : mixed = []
  • $_col2 : mixed = []
  • $_coords : mixed = [0.5, 0.5, 0.5, 0.5, 1]

RadioButton()

File: tcpdf.php line 5454

public RadioButton(mixed $_name, mixed $_w[, mixed $_prop = [] ][, mixed $_opt = [] ][, mixed $_onvalue = 'On' ][, mixed $_checked = false ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_js = false ]) : mixed

Parameters

  • $_name : mixed
  • $_w : mixed
  • $_prop : mixed = []
  • $_opt : mixed = []
  • $_onvalue : mixed = ‘On’
  • $_checked : mixed = false
  • $_x : mixed = null
  • $_y : mixed = null
  • $_js : mixed = false

Rect()

File: tcpdf.php line 4911

public Rect(mixed $_x, mixed $_y, mixed $_w, mixed $_h[, mixed $_style = '' ][, mixed $_border_style = [] ][, mixed $_fill_color = [] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_style : mixed = ‘’
  • $_border_style : mixed = []
  • $_fill_color : mixed = []

registrationMark()

File: tcpdf.php line 6064

public registrationMark(mixed $_x, mixed $_y, mixed $_r[, mixed $_double = false ][, mixed $_cola = [100, 100, 100, 100, 'All'] ][, mixed $_colb = [0, 0, 0, 0, 'None'] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_r : mixed
  • $_double : mixed = false
  • $_cola : mixed = [100, 100, 100, 100, ‘All’]
  • $_colb : mixed = [0, 0, 0, 0, ‘None’]

registrationMarkCMYK()

File: tcpdf.php line 6081

public registrationMarkCMYK(mixed $_x, mixed $_y, mixed $_r) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_r : mixed

RegularPolygon()

File: tcpdf.php line 5122

public RegularPolygon(mixed $_x0, mixed $_y0, mixed $_r, mixed $_ns[, mixed $_angle = 0 ][, mixed $_draw_circle = false ][, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ][, mixed $_circle_style = '' ][, mixed $_circle_outLine_style = [] ][, mixed $_circle_fill_color = [] ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_r : mixed
  • $_ns : mixed
  • $_angle : mixed = 0
  • $_draw_circle : mixed = false
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []
  • $_circle_style : mixed = ‘’
  • $_circle_outLine_style : mixed = []
  • $_circle_fill_color : mixed = []

removePageRegion()

File: tcpdf.php line 8435

public removePageRegion(mixed $_key) : mixed

Parameters

  • $_key : mixed

replaceMissingChars()

File: tcpdf.php line 3153

public replaceMissingChars(mixed $_text[, mixed $_font = '' ][, mixed $_style = '' ][, mixed $_subs = [] ]) : mixed

Parameters

  • $_text : mixed
  • $_font : mixed = ‘’
  • $_style : mixed = ‘’
  • $_subs : mixed = []

resetColumns()

File: tcpdf.php line 8059

public resetColumns() : mixed

resetHeaderTemplate()

File: tcpdf.php line 2673

public resetHeaderTemplate() : mixed

resetLastH()

File: tcpdf.php line 2113

public resetLastH() : mixed

rollbackTransaction()

File: tcpdf.php line 7909

public rollbackTransaction([mixed $_self = false ]) : mixed

Parameters

  • $_self : mixed = false

Rotate()

File: tcpdf.php line 4817

public Rotate(mixed $_angle[, mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_angle : mixed
  • $_x : mixed = null
  • $_y : mixed = null

RoundedRect()

File: tcpdf.php line 5190

public RoundedRect(mixed $_x, mixed $_y, mixed $_w, mixed $_h, mixed $_r[, mixed $_round_corner = '1111' ][, mixed $_style = '' ][, mixed $_border_style = [] ][, mixed $_fill_color = [] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_r : mixed
  • $_round_corner : mixed = ‘1111’
  • $_style : mixed = ‘’
  • $_border_style : mixed = []
  • $_fill_color : mixed = []

RoundedRectXY()

File: tcpdf.php line 5204

public RoundedRectXY(mixed $_x, mixed $_y, mixed $_w, mixed $_h, mixed $_rx, mixed $_ry[, mixed $_round_corner = '1111' ][, mixed $_style = '' ][, mixed $_border_style = [] ][, mixed $_fill_color = [] ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_w : mixed
  • $_h : mixed
  • $_rx : mixed
  • $_ry : mixed
  • $_round_corner : mixed = ‘1111’
  • $_style : mixed = ‘’
  • $_border_style : mixed = []
  • $_fill_color : mixed = []

Scale()

File: tcpdf.php line 4758

public Scale(mixed $_s_x, mixed $_s_y[, mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_s_x : mixed
  • $_s_y : mixed
  • $_x : mixed = null
  • $_y : mixed = null

ScaleX()

File: tcpdf.php line 4743

public ScaleX(mixed $_s_x[, mixed $_x = '' ][, mixed $_y = '' ]) : mixed

Parameters

  • $_s_x : mixed
  • $_x : mixed = ‘’
  • $_y : mixed = ‘’

ScaleXY()

File: tcpdf.php line 4753

public ScaleXY(mixed $_s[, mixed $_x = '' ][, mixed $_y = '' ]) : mixed

Parameters

  • $_s : mixed
  • $_x : mixed = ‘’
  • $_y : mixed = ‘’

ScaleY()

File: tcpdf.php line 4748

public ScaleY(mixed $_s_y[, mixed $_x = '' ][, mixed $_y = '' ]) : mixed

Parameters

  • $_s_y : mixed
  • $_x : mixed = ‘’
  • $_y : mixed = ‘’

selectColumn()

File: tcpdf.php line 8129

public selectColumn([mixed $_col = null ]) : mixed

Parameters

  • $_col : mixed = null

serializeTCPDFtag()

File: tcpdf.php line 7121

public serializeTCPDFtag(mixed $_method[, mixed $_params = [] ]) : mixed

Parameters

  • $_method : mixed
  • $_params : mixed = []

setAbsX()

File: tcpdf.php line 4402

public setAbsX(mixed $_x) : mixed

Parameters

  • $_x : mixed

setAbsXY()

File: tcpdf.php line 4412

public setAbsXY(mixed $_x, mixed $_y) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed

setAbsY()

File: tcpdf.php line 4407

public setAbsY(mixed $_y) : mixed

Parameters

  • $_y : mixed

setAllowLocalFiles()

File: tcpdf.php line 2407

public setAllowLocalFiles(mixed $_allowLocalFiles) : mixed

Parameters

  • $_allowLocalFiles : mixed

setAlpha()

File: tcpdf.php line 5930

public setAlpha([mixed $_stroking = 1 ][, mixed $_bm = 'Normal' ][, mixed $_nonstroking = null ][, mixed $_ais = false ]) : mixed

Parameters

  • $_stroking : mixed = 1
  • $_bm : mixed = ‘Normal’
  • $_nonstroking : mixed = null
  • $_ais : mixed = false

setAuthor()

File: tcpdf.php line 2392

public setAuthor(mixed $_author) : mixed

Parameters

  • $_author : mixed

setAutoPageBreak()

File: tcpdf.php line 2342

public setAutoPageBreak(mixed $_auto[, mixed $_margin = 0 ]) : mixed

Parameters

  • $_auto : mixed
  • $_margin : mixed = 0

setBarcode()

File: tcpdf.php line 6394

public setBarcode([mixed $_bc = '' ]) : mixed

Parameters

  • $_bc : mixed = ‘’

setBooklet()

File: tcpdf.php line 7602

public setBooklet([mixed $_booklet = true ][, mixed $_inner = -1 ][, mixed $_outer = -1 ]) : mixed

Parameters

  • $_booklet : mixed = true
  • $_inner : mixed = -1
  • $_outer : mixed = -1

setBookmark()

File: tcpdf.php line 5268

public setBookmark(mixed $_txt[, mixed $_level = 0 ][, mixed $_y = -1 ][, mixed $_page = '' ][, mixed $_style = '' ][, mixed $_color = [0, 0, 0] ][, mixed $_x = -1 ][, mixed $_link = '' ]) : mixed

Parameters

  • $_txt : mixed
  • $_level : mixed = 0
  • $_y : mixed = -1
  • $_page : mixed = ‘’
  • $_style : mixed = ‘’
  • $_color : mixed = [0, 0, 0]
  • $_x : mixed = -1
  • $_link : mixed = ‘’

setCellHeightRatio()

File: tcpdf.php line 5973

public setCellHeightRatio(mixed $_h) : mixed

Parameters

  • $_h : mixed

setCellMargins()

File: tcpdf.php line 2308

public setCellMargins([mixed $_left = null ][, mixed $_top = null ][, mixed $_right = null ][, mixed $_bottom = null ]) : mixed

Parameters

  • $_left : mixed = null
  • $_top : mixed = null
  • $_right : mixed = null
  • $_bottom : mixed = null

setCellPadding()

File: tcpdf.php line 2269

public setCellPadding(mixed $_pad) : mixed

Parameters

  • $_pad : mixed

setCellPaddings()

File: tcpdf.php line 2274

public setCellPaddings([mixed $_left = null ][, mixed $_top = null ][, mixed $_right = null ][, mixed $_bottom = null ]) : mixed

Parameters

  • $_left : mixed = null
  • $_top : mixed = null
  • $_right : mixed = null
  • $_bottom : mixed = null

setColor()

File: tcpdf.php line 2863

public setColor(mixed $_type[, mixed $_col1 = 0 ][, mixed $_col2 = -1 ][, mixed $_col3 = -1 ][, mixed $_col4 = -1 ][, mixed $_ret = false ][, mixed $_name = '' ]) : mixed

Parameters

  • $_type : mixed
  • $_col1 : mixed = 0
  • $_col2 : mixed = -1
  • $_col3 : mixed = -1
  • $_col4 : mixed = -1
  • $_ret : mixed = false
  • $_name : mixed = ‘’

setColorArray()

File: tcpdf.php line 2833

public setColorArray(mixed $_type, mixed $_color[, mixed $_ret = false ]) : mixed

Parameters

  • $_type : mixed
  • $_color : mixed
  • $_ret : mixed = false

setColumnsArray()

File: tcpdf.php line 8081

public setColumnsArray(mixed $_columns) : mixed

Parameters

  • $_columns : mixed

setCompression()

File: tcpdf.php line 2366

public setCompression([mixed $_compress = true ]) : mixed

Parameters

  • $_compress : mixed = true

setCreator()

File: tcpdf.php line 2402

public setCreator(mixed $_creator) : mixed

Parameters

  • $_creator : mixed

setDefaultMonospacedFont()

File: tcpdf.php line 3175

public setDefaultMonospacedFont(mixed $_font) : mixed

Parameters

  • $_font : mixed

setDefaultTableColumns()

File: tcpdf.php line 5968

public setDefaultTableColumns([mixed $_cols = 4 ]) : mixed

Parameters

  • $_cols : mixed = 4

setDestination()

File: tcpdf.php line 5248

public setDestination(mixed $_name[, mixed $_y = -1 ][, mixed $_page = '' ][, mixed $_x = -1 ]) : mixed

Parameters

  • $_name : mixed
  • $_y : mixed = -1
  • $_page : mixed = ‘’
  • $_x : mixed = -1

setDisplayMode()

File: tcpdf.php line 2359

public setDisplayMode(mixed $_zoom[, mixed $_layout = 'SinglePage' ][, mixed $_mode = 'UseNone' ]) : mixed

Parameters

  • $_zoom : mixed
  • $_layout : mixed = ‘SinglePage’
  • $_mode : mixed = ‘UseNone’

setDocCreationTimestamp()

File: tcpdf.php line 4541

public setDocCreationTimestamp(mixed $_time) : mixed

Parameters

  • $_time : mixed

setDocInfoUnicode()

File: tcpdf.php line 2377

public setDocInfoUnicode([mixed $_unicode = true ]) : mixed

Parameters

  • $_unicode : mixed = true

setDocModificationTimestamp()

File: tcpdf.php line 4546

public setDocModificationTimestamp(mixed $_time) : mixed

Parameters

  • $_time : mixed

setDrawColor()

File: tcpdf.php line 2896

public setDrawColor([mixed $_col1 = 0 ][, mixed $_col2 = -1 ][, mixed $_col3 = -1 ][, mixed $_col4 = -1 ][, mixed $_ret = false ][, mixed $_name = '' ]) : mixed

Parameters

  • $_col1 : mixed = 0
  • $_col2 : mixed = -1
  • $_col3 : mixed = -1
  • $_col4 : mixed = -1
  • $_ret : mixed = false
  • $_name : mixed = ‘’

setDrawColorArray()

File: tcpdf.php line 2848

public setDrawColorArray(mixed $_color[, mixed $_ret = false ]) : mixed

Parameters

  • $_color : mixed
  • $_ret : mixed = false

setDrawSpotColor()

File: tcpdf.php line 2818

public setDrawSpotColor(mixed $_name[, mixed $_tint = 100 ]) : mixed

Parameters

  • $_name : mixed
  • $_tint : mixed = 100

setEqualColumns()

File: tcpdf.php line 8037

public setEqualColumns([mixed $_numcols = 0 ][, mixed $_width = 0 ][, mixed $_y = null ]) : mixed

Parameters

  • $_numcols : mixed = 0
  • $_width : mixed = 0
  • $_y : mixed = null

setExtraXMP()

File: tcpdf.php line 4526

public setExtraXMP(mixed $_xmp) : mixed

Parameters

  • $_xmp : mixed

setExtraXMPPdfaextension()

File: tcpdf.php line 4536

public setExtraXMPPdfaextension(mixed $_xmp) : mixed

Parameters

  • $_xmp : mixed

setExtraXMPRDF()

File: tcpdf.php line 4531

public setExtraXMPRDF(mixed $_xmp) : mixed

Parameters

  • $_xmp : mixed

setFillColor()

File: tcpdf.php line 2901

public setFillColor([mixed $_col1 = 0 ][, mixed $_col2 = -1 ][, mixed $_col3 = -1 ][, mixed $_col4 = -1 ][, mixed $_ret = false ][, mixed $_name = '' ]) : mixed

Parameters

  • $_col1 : mixed = 0
  • $_col2 : mixed = -1
  • $_col3 : mixed = -1
  • $_col4 : mixed = -1
  • $_ret : mixed = false
  • $_name : mixed = ‘’

setFillColorArray()

File: tcpdf.php line 2853

public setFillColorArray(mixed $_color[, mixed $_ret = false ]) : mixed

Parameters

  • $_color : mixed
  • $_ret : mixed = false

setFillSpotColor()

File: tcpdf.php line 2823

public setFillSpotColor(mixed $_name[, mixed $_tint = 100 ]) : mixed

Parameters

  • $_name : mixed
  • $_tint : mixed = 100

setFont()

File: tcpdf.php line 3038

public setFont(mixed $_family[, mixed $_style = '' ][, mixed $_size = null ][, mixed $_fontfile = '' ][, mixed $_subset = 'default' ][, mixed $_out = true ]) : mixed

Parameters

  • $_family : mixed
  • $_style : mixed = ‘’
  • $_size : mixed = null
  • $_fontfile : mixed = ‘’
  • $_subset : mixed = ‘default’
  • $_out : mixed = true

setFontSize()

File: tcpdf.php line 3094

public setFontSize(mixed $_size[, mixed $_out = true ]) : mixed

Parameters

  • $_size : mixed
  • $_out : mixed = true

setFontSpacing()

File: tcpdf.php line 8373

public setFontSpacing([mixed $_spacing = 0 ]) : mixed

Parameters

  • $_spacing : mixed = 0

setFontStretching()

File: tcpdf.php line 8359

public setFontStretching([mixed $_perc = 100 ]) : mixed

Parameters

  • $_perc : mixed = 100

setFontSubsetting()

File: tcpdf.php line 8264

public setFontSubsetting([mixed $_enable = true ]) : mixed

Parameters

  • $_enable : mixed = true

setFooterData()

File: tcpdf.php line 2599

public setFooterData([mixed $_tc = [0, 0, 0] ][, mixed $_lc = [0, 0, 0] ]) : mixed

Parameters

  • $_tc : mixed = [0, 0, 0]
  • $_lc : mixed = [0, 0, 0]

setFooterFont()

File: tcpdf.php line 4579

public setFooterFont(mixed $_font) : mixed

Parameters

  • $_font : mixed

setFooterMargin()

File: tcpdf.php line 2628

public setFooterMargin([mixed $_fm = 10 ]) : mixed

Parameters

  • $_fm : mixed = 10

setFormDefaultProp()

File: tcpdf.php line 5325

public setFormDefaultProp([mixed $_prop = [] ]) : mixed

Parameters

  • $_prop : mixed = []

setHeaderData()

File: tcpdf.php line 2587

public setHeaderData([mixed $_ln = '' ][, mixed $_lw = 0 ][, mixed $_ht = '' ][, mixed $_hs = '' ][, mixed $_tc = [0, 0, 0] ][, mixed $_lc = [0, 0, 0] ]) : mixed

Parameters

  • $_ln : mixed = ‘’
  • $_lw : mixed = 0
  • $_ht : mixed = ‘’
  • $_hs : mixed = ‘’
  • $_tc : mixed = [0, 0, 0]
  • $_lc : mixed = [0, 0, 0]

setHeaderFont()

File: tcpdf.php line 4561

public setHeaderFont(mixed $_font) : mixed

Parameters

  • $_font : mixed

setHeaderMargin()

File: tcpdf.php line 2615

public setHeaderMargin([mixed $_hm = 10 ]) : mixed

Parameters

  • $_hm : mixed = 10

setHeaderTemplateAutoreset()

File: tcpdf.php line 2678

public setHeaderTemplateAutoreset([mixed $_val = true ]) : mixed

Parameters

  • $_val : mixed = true

setHtmlLinksStyle()

File: tcpdf.php line 7654

public setHtmlLinksStyle([mixed $_color = [0, 0, 255] ][, mixed $_fontstyle = 'U' ]) : mixed

Parameters

  • $_color : mixed = [0, 0, 255]
  • $_fontstyle : mixed = ‘U’

setHtmlVSpace()

File: tcpdf.php line 7614

public setHtmlVSpace(mixed $_tagvs) : mixed

Parameters

  • $_tagvs : mixed

setImageScale()

File: tcpdf.php line 2126

public setImageScale(mixed $_scale) : mixed

Parameters

  • $_scale : mixed

setJPEGQuality()

File: tcpdf.php line 5962

public setJPEGQuality(mixed $_quality) : mixed

Parameters

  • $_quality : mixed

setKeywords()

File: tcpdf.php line 2397

public setKeywords(mixed $_keywords) : mixed

Parameters

  • $_keywords : mixed

setLanguageArray()

File: tcpdf.php line 4597

public setLanguageArray(mixed $_language) : mixed

Parameters

  • $_language : mixed

setLastH()

File: tcpdf.php line 2090

public setLastH(mixed $_h) : mixed

Parameters

  • $_h : mixed

setLeftMargin()

File: tcpdf.php line 2248

public setLeftMargin(mixed $_margin) : mixed

Parameters

  • $_margin : mixed

setLineStyle()

File: tcpdf.php line 4871

public setLineStyle(mixed $_style[, mixed $_ret = false ]) : mixed

Parameters

  • $_style : mixed
  • $_ret : mixed = false

setLineWidth()

File: tcpdf.php line 4857

public setLineWidth(mixed $_width) : mixed

Parameters

  • $_width : mixed

File: tcpdf.php line 3194

public setLink(mixed $_link[, mixed $_y = 0 ][, mixed $_page = -1 ]) : mixed

Parameters

  • $_link : mixed
  • $_y : mixed = 0
  • $_page : mixed = -1

setListIndentWidth()

File: tcpdf.php line 7644

public setListIndentWidth(mixed $_width) : mixed

Parameters

  • $_width : mixed

setLIsymbol()

File: tcpdf.php line 7597

public setLIsymbol([mixed $_symbol = '!' ]) : mixed

Parameters

  • $_symbol : mixed = ‘!’

setMargins()

File: tcpdf.php line 2230

public setMargins(mixed $_left, mixed $_top[, mixed $_right = null ][, mixed $_keepmargins = false ]) : mixed

Parameters

  • $_left : mixed
  • $_top : mixed
  • $_right : mixed = null
  • $_keepmargins : mixed = false

setOpenCell()

File: tcpdf.php line 7649

public setOpenCell(mixed $_isopen) : mixed

Parameters

  • $_isopen : mixed

setOverprint()

File: tcpdf.php line 5911

public setOverprint([mixed $_stroking = true ][, mixed $_nonstroking = null ][, mixed $_mode = 0 ]) : mixed

Parameters

  • $_stroking : mixed = true
  • $_nonstroking : mixed = null
  • $_mode : mixed = 0

setPage()

File: tcpdf.php line 2474

public setPage(mixed $_pnum[, mixed $_resetmargins = false ]) : mixed

Parameters

  • $_pnum : mixed
  • $_resetmargins : mixed = false

setPageMark()

File: tcpdf.php line 2580

public setPageMark() : mixed

setPageOrientation()

File: tcpdf.php line 2036

public setPageOrientation(mixed $_orientation[, mixed $_autopagebreak = null ][, mixed $_bottommargin = null ]) : mixed

Parameters

  • $_orientation : mixed
  • $_autopagebreak : mixed = null
  • $_bottommargin : mixed = null

setPageRegions()

File: tcpdf.php line 8396

public setPageRegions([mixed $_regions = [] ]) : mixed

Parameters

  • $_regions : mixed = []

setPageUnit()

File: tcpdf.php line 2022

public setPageUnit(mixed $_unit) : mixed

Parameters

  • $_unit : mixed

setPDFVersion()

File: tcpdf.php line 5986

public setPDFVersion([mixed $_version = '1.7' ]) : mixed

Parameters

  • $_version : mixed = ‘1.7’

setPrintFooter()

File: tcpdf.php line 2646

public setPrintFooter([mixed $_val = true ]) : mixed

Parameters

  • $_val : mixed = true

setPrintHeader()

File: tcpdf.php line 2641

public setPrintHeader([mixed $_val = true ]) : mixed

Parameters

  • $_val : mixed = true

setProtection()

File: tcpdf.php line 4671

public setProtection([mixed $_permissions = ['print', 'modify', 'copy', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-high'] ][, mixed $_user_pass = '' ][, mixed $_owner_pass = null ][, mixed $_mode = 0 ][, mixed $_pubkeys = null ]) : mixed

Parameters

  • $_permissions : mixed = [‘print’, ‘modify’, ‘copy’, ‘annot-forms’, ‘fill-forms’, ’extract’, ‘assemble’, ‘print-high’]
  • $_user_pass : mixed = ‘’
  • $_owner_pass : mixed = null
  • $_mode : mixed = 0
  • $_pubkeys : mixed = null

setRasterizeVectorImages()

File: tcpdf.php line 8259

public setRasterizeVectorImages(mixed $_mode) : mixed

Parameters

  • $_mode : mixed

setRightMargin()

File: tcpdf.php line 2264

public setRightMargin(mixed $_margin) : mixed

Parameters

  • $_margin : mixed

setRTL()

File: tcpdf.php line 2053

public setRTL(mixed $_enable[, mixed $_resetx = true ]) : mixed

Parameters

  • $_enable : mixed
  • $_resetx : mixed = true

setSignature()

File: tcpdf.php line 5669

public setSignature([mixed $_signing_cert = '' ][, mixed $_private_key = '' ][, mixed $_private_key_password = '' ][, mixed $_extracerts = '' ][, mixed $_cert_type = 2 ][, mixed $_info = [] ][, mixed $_approval = '' ]) : mixed

Parameters

  • $_signing_cert : mixed = ‘’
  • $_private_key : mixed = ‘’
  • $_private_key_password : mixed = ‘’
  • $_extracerts : mixed = ‘’
  • $_cert_type : mixed = 2
  • $_info : mixed = []
  • $_approval : mixed = ‘’

setSignatureAppearance()

File: tcpdf.php line 5708

public setSignatureAppearance([mixed $_x = 0 ][, mixed $_y = 0 ][, mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_page = -1 ][, mixed $_name = '' ]) : mixed

Parameters

  • $_x : mixed = 0
  • $_y : mixed = 0
  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_page : mixed = -1
  • $_name : mixed = ‘’

setSpacesRE()

File: tcpdf.php line 2048

public setSpacesRE([mixed $_re = '/[^\S\xa0]/' ]) : mixed

Parameters

  • $_re : mixed = ‘/[^\S\xa0]/’

setSpotColor()

File: tcpdf.php line 2793

public setSpotColor(mixed $_type, mixed $_name[, mixed $_tint = 100 ]) : mixed

Parameters

  • $_type : mixed
  • $_name : mixed
  • $_tint : mixed = 100

setSRGBmode()

File: tcpdf.php line 2372

public setSRGBmode([mixed $_mode = false ]) : mixed

Parameters

  • $_mode : mixed = false

setStartingPageNumber()

File: tcpdf.php line 5764

public setStartingPageNumber([mixed $_num = 1 ]) : mixed

Parameters

  • $_num : mixed = 1

setSubject()

File: tcpdf.php line 2387

public setSubject(mixed $_subject) : mixed

Parameters

  • $_subject : mixed

setTempRTL()

File: tcpdf.php line 2070

public setTempRTL(mixed $_mode) : mixed

Parameters

  • $_mode : mixed

setTextColor()

File: tcpdf.php line 2906

public setTextColor([mixed $_col1 = 0 ][, mixed $_col2 = -1 ][, mixed $_col3 = -1 ][, mixed $_col4 = -1 ][, mixed $_ret = false ][, mixed $_name = '' ]) : mixed

Parameters

  • $_col1 : mixed = 0
  • $_col2 : mixed = -1
  • $_col3 : mixed = -1
  • $_col4 : mixed = -1
  • $_ret : mixed = false
  • $_name : mixed = ‘’

setTextColorArray()

File: tcpdf.php line 2858

public setTextColorArray(mixed $_color[, mixed $_ret = false ]) : mixed

Parameters

  • $_color : mixed
  • $_ret : mixed = false

setTextRenderingMode()

File: tcpdf.php line 8185

public setTextRenderingMode([mixed $_stroke = 0 ][, mixed $_fill = true ][, mixed $_clip = false ]) : mixed

Parameters

  • $_stroke : mixed = 0
  • $_fill : mixed = true
  • $_clip : mixed = false

setTextShadow()

File: tcpdf.php line 8194

public setTextShadow([mixed $_params = ['enabled' => false, 'depth_w' => 0, 'depth_h' => 0, 'color' => false, 'opacity' => 1, 'blend_mode' => 'Normal'] ]) : mixed

Parameters

  • $_params : mixed = [’enabled’ => false, ‘depth_w’ => 0, ‘depth_h’ => 0, ‘color’ => false, ‘opacity’ => 1, ‘blend_mode’ => ‘Normal’]

setTextSpotColor()

File: tcpdf.php line 2828

public setTextSpotColor(mixed $_name[, mixed $_tint = 100 ]) : mixed

Parameters

  • $_name : mixed
  • $_tint : mixed = 100

setTimeStamp()

File: tcpdf.php line 5732

public setTimeStamp([mixed $_tsa_host = '' ][, mixed $_tsa_username = '' ][, mixed $_tsa_password = '' ][, mixed $_tsa_cert = '' ]) : mixed

Parameters

  • $_tsa_host : mixed = ‘’
  • $_tsa_username : mixed = ‘’
  • $_tsa_password : mixed = ‘’
  • $_tsa_cert : mixed = ‘’

setTitle()

File: tcpdf.php line 2382

public setTitle(mixed $_title) : mixed

Parameters

  • $_title : mixed

setTopMargin()

File: tcpdf.php line 2256

public setTopMargin(mixed $_margin) : mixed

Parameters

  • $_margin : mixed

setUserRights()

File: tcpdf.php line 5649

public setUserRights([mixed $_enable = true ][, mixed $_document = '/FullSave' ][, mixed $_annots = '/Create/Delete/Modify/Copy/Import/Export' ][, mixed $_form = '/Add/Delete/FillIn/Import/Export/SubmitStandalone/SpawnTemplate' ][, mixed $_signature = '/Modify' ][, mixed $_ef = '/Create/Delete/Modify/Import' ][, mixed $_formex = '' ]) : mixed

Parameters

  • $_enable : mixed = true
  • $_document : mixed = ‘/FullSave’
  • $_annots : mixed = ‘/Create/Delete/Modify/Copy/Import/Export’
  • $_form : mixed = ‘/Add/Delete/FillIn/Import/Export/SubmitStandalone/SpawnTemplate’
  • $_signature : mixed = ‘/Modify’
  • $_ef : mixed = ‘/Create/Delete/Modify/Import’
  • $_formex : mixed = ‘’

setViewerPreferences()

File: tcpdf.php line 5991

public setViewerPreferences(mixed $_preferences) : mixed

Parameters

  • $_preferences : mixed

setVisibility()

File: tcpdf.php line 5893

public setVisibility(mixed $_v) : mixed

Parameters

  • $_v : mixed

setX()

File: tcpdf.php line 4376

public setX(mixed $_x[, mixed $_rtloff = false ]) : mixed

Parameters

  • $_x : mixed
  • $_rtloff : mixed = false

setXY()

File: tcpdf.php line 4396

public setXY(mixed $_x, mixed $_y[, mixed $_rtloff = false ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_rtloff : mixed = false

setY()

File: tcpdf.php line 4387

public setY(mixed $_y[, mixed $_resetx = true ][, mixed $_rtloff = false ]) : mixed

Parameters

  • $_y : mixed
  • $_resetx : mixed = true
  • $_rtloff : mixed = false

Skew()

File: tcpdf.php line 4836

public Skew(mixed $_angle_x, mixed $_angle_y[, mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_angle_x : mixed
  • $_angle_y : mixed
  • $_x : mixed = null
  • $_y : mixed = null

SkewX()

File: tcpdf.php line 4826

public SkewX(mixed $_angle_x[, mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_angle_x : mixed
  • $_x : mixed = null
  • $_y : mixed = null

SkewY()

File: tcpdf.php line 4831

public SkewY(mixed $_angle_y[, mixed $_x = null ][, mixed $_y = null ]) : mixed

Parameters

  • $_angle_y : mixed
  • $_x : mixed = null
  • $_y : mixed = null

StarPolygon()

File: tcpdf.php line 5156

public StarPolygon(mixed $_x0, mixed $_y0, mixed $_r, mixed $_nv, mixed $_ng[, mixed $_angle = 0 ][, mixed $_draw_circle = false ][, mixed $_style = '' ][, mixed $_line_style = [] ][, mixed $_fill_color = [] ][, mixed $_circle_style = '' ][, mixed $_circle_outLine_style = [] ][, mixed $_circle_fill_color = [] ]) : mixed

Parameters

  • $_x0 : mixed
  • $_y0 : mixed
  • $_r : mixed
  • $_nv : mixed
  • $_ng : mixed
  • $_angle : mixed = 0
  • $_draw_circle : mixed = false
  • $_style : mixed = ‘’
  • $_line_style : mixed = []
  • $_fill_color : mixed = []
  • $_circle_style : mixed = ‘’
  • $_circle_outLine_style : mixed = []
  • $_circle_fill_color : mixed = []

startLayer()

File: tcpdf.php line 5879

public startLayer([mixed $_name = '' ][, mixed $_print = true ][, mixed $_view = true ][, mixed $_lock = true ]) : mixed

Parameters

  • $_name : mixed = ‘’
  • $_print : mixed = true
  • $_view : mixed = true
  • $_lock : mixed = true

startPage()

File: tcpdf.php line 2554

public startPage([mixed $_orientation = '' ][, mixed $_format = '' ][, mixed $_tocpage = false ]) : mixed

Parameters

  • $_orientation : mixed = ‘’
  • $_format : mixed = ‘’
  • $_tocpage : mixed = false

startPageGroup()

File: tcpdf.php line 5757

public startPageGroup([mixed $_page = null ]) : mixed

Parameters

  • $_page : mixed = null

startTemplate()

File: tcpdf.php line 8306

public startTemplate([mixed $_w = 0 ][, mixed $_h = 0 ][, mixed $_group = false ]) : mixed

Parameters

  • $_w : mixed = 0
  • $_h : mixed = 0
  • $_group : mixed = false

startTransaction()

File: tcpdf.php line 7875

public startTransaction() : mixed

StartTransform()

File: tcpdf.php line 4733

public StartTransform() : mixed

StopTransform()

File: tcpdf.php line 4738

public StopTransform() : mixed

stringLeftTrim()

File: tcpdf.php line 8277

public stringLeftTrim(mixed $_str[, mixed $_replace = '' ]) : mixed

Parameters

  • $_str : mixed
  • $_replace : mixed = ‘’

stringRightTrim()

File: tcpdf.php line 8282

public stringRightTrim(mixed $_str[, mixed $_replace = '' ]) : mixed

Parameters

  • $_str : mixed
  • $_replace : mixed = ‘’

stringTrim()

File: tcpdf.php line 8287

public stringTrim(mixed $_str[, mixed $_replace = '' ]) : mixed

Parameters

  • $_str : mixed
  • $_replace : mixed = ‘’

Text()

File: tcpdf.php line 3267

public Text(mixed $_x, mixed $_y, mixed $_txt[, mixed $_fstroke = 0 ][, mixed $_fclip = false ][, mixed $_ffill = true ][, mixed $_border = 0 ][, mixed $_ln = 0 ][, mixed $_align = '' ][, mixed $_fill = false ][, mixed $_link = '' ][, mixed $_stretch = 0 ][, mixed $_ignore_min_height = false ][, mixed $_calign = 'T' ][, mixed $_valign = 'M' ][, mixed $_rtloff = false ]) : mixed

Parameters

  • $_x : mixed
  • $_y : mixed
  • $_txt : mixed
  • $_fstroke : mixed = 0
  • $_fclip : mixed = false
  • $_ffill : mixed = true
  • $_border : mixed = 0
  • $_ln : mixed = 0
  • $_align : mixed = ‘’
  • $_fill : mixed = false
  • $_link : mixed = ‘’
  • $_stretch : mixed = 0
  • $_ignore_min_height : mixed = false
  • $_calign : mixed = ‘T’
  • $_valign : mixed = ‘M’
  • $_rtloff : mixed = false

TextField()

File: tcpdf.php line 5435

public TextField(mixed $_name, mixed $_w, mixed $_h[, mixed $_prop = [] ][, mixed $_opt = [] ][, mixed $_x = null ][, mixed $_y = null ][, mixed $_js = false ]) : mixed

Parameters

  • $_name : mixed
  • $_w : mixed
  • $_h : mixed
  • $_prop : mixed = []
  • $_opt : mixed = []
  • $_x : mixed = null
  • $_y : mixed = null
  • $_js : mixed = false

Translate()

File: tcpdf.php line 4812

public Translate(mixed $_t_x, mixed $_t_y) : mixed

Parameters

  • $_t_x : mixed
  • $_t_y : mixed

TranslateX()

File: tcpdf.php line 4802

public TranslateX(mixed $_t_x) : mixed

Parameters

  • $_t_x : mixed

TranslateY()

File: tcpdf.php line 4807

public TranslateY(mixed $_t_y) : mixed

Parameters

  • $_t_y : mixed

unhtmlentities()

File: tcpdf.php line 4662

public unhtmlentities(mixed $_text_to_convert) : mixed

Parameters

  • $_text_to_convert : mixed

Write()

File: tcpdf.php line 3922

public Write(mixed $_h, mixed $_txt[, mixed $_link = '' ][, mixed $_fill = false ][, mixed $_align = '' ][, mixed $_ln = false ][, mixed $_stretch = 0 ][, mixed $_firstline = false ][, mixed $_firstblock = false ][, mixed $_maxh = 0 ][, mixed $_wadj = 0 ][, mixed $_margin = null ]) : mixed

Parameters

  • $_h : mixed
  • $_txt : mixed
  • $_link : mixed = ‘’
  • $_fill : mixed = false
  • $_align : mixed = ‘’
  • $_ln : mixed = false
  • $_stretch : mixed = 0
  • $_firstline : mixed = false
  • $_firstblock : mixed = false
  • $_maxh : mixed = 0
  • $_wadj : mixed = 0
  • $_margin : mixed = null

write1DBarcode()

File: tcpdf.php line 6407

public write1DBarcode(mixed $_code, mixed $_type[, mixed $_x = null ][, mixed $_y = null ][, mixed $_w = null ][, mixed $_h = null ][, mixed $_xres = null ][, mixed $_style = [] ][, mixed $_align = '' ]) : mixed

Parameters

  • $_code : mixed
  • $_type : mixed
  • $_x : mixed = null
  • $_y : mixed = null
  • $_w : mixed = null
  • $_h : mixed = null
  • $_xres : mixed = null
  • $_style : mixed = []
  • $_align : mixed = ‘’

write2DBarcode()

File: tcpdf.php line 6433

public write2DBarcode(mixed $_code, mixed $_type[, mixed $_x = null ][, mixed $_y = null ][, mixed $_w = null ][, mixed $_h = null ][, mixed $_style = [] ][, mixed $_align = '' ][, mixed $_distort = false ]) : mixed

Parameters

  • $_code : mixed
  • $_type : mixed
  • $_x : mixed = null
  • $_y : mixed = null
  • $_w : mixed = null
  • $_h : mixed = null
  • $_style : mixed = []
  • $_align : mixed = ‘’
  • $_distort : mixed = false

writeHTML()

File: tcpdf.php line 7585

public writeHTML(mixed $_html[, mixed $_ln = true ][, mixed $_fill = false ][, mixed $_reseth = false ][, mixed $_cell = false ][, mixed $_align = '' ]) : mixed

Parameters

  • $_html : mixed
  • $_ln : mixed = true
  • $_fill : mixed = false
  • $_reseth : mixed = false
  • $_cell : mixed = false
  • $_align : mixed = ‘’

writeHTMLCell()

File: tcpdf.php line 7128

public writeHTMLCell(mixed $_w, mixed $_h, mixed $_x, mixed $_y[, mixed $_html = '' ][, mixed $_border = 0 ][, mixed $_ln = 0 ][, mixed $_fill = false ][, mixed $_reseth = true ][, mixed $_align = '' ][, mixed $_autopadding = true ]) : mixed

Parameters

  • $_w : mixed
  • $_h : mixed
  • $_x : mixed
  • $_y : mixed
  • $_html : mixed = ‘’
  • $_border : mixed = 0
  • $_ln : mixed = 0
  • $_fill : mixed = false
  • $_reseth : mixed = true
  • $_align : mixed = ‘’
  • $_autopadding : mixed = true