TCPDF::checkPageRegions( $h, $x, $y )
Check page for no-write regions and adapt current coordinates and page margins if necessary.
Description Description
A no-write region is a portion of the page with a rectangular or trapezium shape that will not be covered when writing text or html code. A region is always aligned on the left or right side of the page ad is defined using a vertical segment.
Parameters Parameters
- $h
-
(Required) (float) height of the text/image/object to print in user units
- $x
-
(Required) (float) current X coordinate in user units
- $y
-
(Required) (float) current Y coordinate in user units
Return Return
(array($x,) $y)
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
5.9.003 | Introduced. |