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


Top ↑

Return Return

(array($w,) $h, $x, $y)


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.5.009 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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