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


Top ↑

Return Return

(array($x,) $y)


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.9.003 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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