TCPDF_STATIC::getBorderMode( $brd,  $position = 'start',  $opencell = true )

Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)


Description Description


Parameters Parameters

$brd

(Required) (mixed) Indicates if borders must be drawn around the cell block. The value can be a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul> or an array of line styles for each border group: array('LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)))

$position

(Optional) (string) multicell position: 'start', 'middle', 'end'

Default value: 'start'

$opencell

(Optional) (boolean) True when the cell is left open at the page bottom, false otherwise.

Default value: true


Top ↑

Return Return

(border) mode array


Top ↑

Source Source

File: includes/lib/tcpdf/include/tcpdf_static.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.002 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.