TCPDF::fitBlock( $w, $h, $x, $y, $fitonpage = false )
Set the block dimensions accounting for page breaks and page/column fitting
Description Description
Parameters Parameters
- $w
-
(Required) (float) width
- $h
-
(Required) (float) height
- $x
-
(Required) (float) X coordinate
- $y
-
(Required) (float) Y coodiante
- $fitonpage
-
(Optional) (boolean) if true the block is resized to not exceed page dimensions.
Default value: false
Return Return
(array($w,) $h, $x, $y)
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
5.5.009 | Introduced. |