Свойство | Тип | Описание | |
---|---|---|---|
$Outlines | |||
$PMA_links | |||
$_xMin | Defines properties | ||
$_yMin | |||
$def_outlines | |||
$leftMargin | |||
$scale | |||
$topMargin | |||
$widths |
Метод | Описание | |
---|---|---|
Footer ( ) : void | This function must be named "Footer" to work with the TCPDF library | |
Header ( ) : void | This method is used to render the page header. | |
NbLines ( integer $w, string $txt ) : integer | Compute number of lines used by a multicell of width w | |
Row ( array $data, array $links ) : void | Generates table row. | |
SetWidths ( array $w ) : void | Sets widths | |
__construct ( string $orientation, string $unit, string $paper, integer $pageNumber, boolean $withDoc, string $db ) | Constructs PDF for schema export. | |
cellScale ( float | integer $w, float | integer $h, string $txt = '', mixed $border, integer $ln, string $align = '', integer $fill, string $link = '' ) : void | Outputs a scaled cell | |
lineScale ( float $x1, float $y1, float $x2, float $y2 ) : void | Draws a scaled line | |
setCMargin ( float $c_margin ) : void | Sets the value for margins | |
setFontSizeScale ( float $size ) : void | Sets the scaled font size | |
setLineWidthScale ( float $width ) : void | Sets the scaled line width | |
setOffline ( string $value ) : void | Set whether the document is generated from client side DB | |
setScale ( float | integer $scale = 1, float | integer $xMin, float | integer $yMin, float | integer $leftMargin, float | integer $topMargin ) : void | Sets the scaling factor, defines minimum coordinates and margins | |
setXScale ( float $x ) : void | Sets the X scaled positions | |
setXyScale ( float $x, float $y ) : void | Sets x and y scaled positions |
public __construct ( string $orientation, string $unit, string $paper, integer $pageNumber, boolean $withDoc, string $db ) | ||
$orientation | string | page orientation |
$unit | string | unit |
$paper | string | the format used for pages |
$pageNumber | integer | schema page number that is being exported |
$withDoc | boolean | with document dictionary |
$db | string | the database name |
public cellScale ( float | integer $w, float | integer $h, string $txt = '', mixed $border, integer $ln, string $align = '', integer $fill, string $link = '' ) : void | ||
$w | float | integer | The cell width |
$h | float | integer | The cell height |
$txt | string | The text to output |
$border | mixed | Whether to add borders or not |
$ln | integer | Where to put the cursor once the output is done |
$align | string | Align mode |
$fill | integer | Whether to fill the cell with a color or not |
$link | string | Link |
Результат | void |
public lineScale ( float $x1, float $y1, float $x2, float $y2 ) : void | ||
$x1 | float | The horizontal position of the starting point |
$y1 | float | The vertical position of the starting point |
$x2 | float | The horizontal position of the ending point |
$y2 | float | The vertical position of the ending point |
Результат | void |
public setCMargin ( float $c_margin ) : void | ||
$c_margin | float | margin |
Результат | void |
public setFontSizeScale ( float $size ) : void | ||
$size | float | The font size (in points) |
Результат | void |
public setLineWidthScale ( float $width ) : void | ||
$width | float | The line width |
Результат | void |
public setOffline ( string $value ) : void | ||
$value | string | whether offline |
Результат | void |
public setScale ( float | integer $scale = 1, float | integer $xMin, float | integer $yMin, float | integer $leftMargin, float | integer $topMargin ) : void | ||
$scale | float | integer | The scaling factor |
$xMin | float | integer | The minimum X coordinate |
$yMin | float | integer | The minimum Y coordinate |
$leftMargin | float | integer | The left margin |
$topMargin | float | integer | The top margin |
Результат | void |