class-Com.Tecnick.Pdf.Page.Region

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Region

Com\Tecnick\Pdf\Page\Region

Com\Tecnick\Pdf\Page\Format
Extended by Com\Tecnick\Pdf\Page\Mode
Extended by Com\Tecnick\Pdf\Page\Box
Extended by Com\Tecnick\Pdf\Page\Settings
Extended by Com\Tecnick\Pdf\Page\Region

Direct known subclasses

Com\Tecnick\Pdf\Page\Page
Abstract
Namespace: Com\Tecnick\Pdf\Page
Package: PdfPage
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: A page region defines the writable area of the page.
Located at Region.php
Methods summary
public array
# selectRegion( $idr )

Select the specified page region.

public array
# getCurrentRegion( )

Returns the current region data

public array
# getNextRegion( )

Returns the page data with the next selected region. If there are no more regions available, then the first region on the next page is selected. A new page is added if required.

public array
# getNextPage( )

Returns the next page data. Creates a new page if required and page break is enabled.

public array
# checkRegionBreak( float $height = 0, float $ypos = null )

Move to the next page region if required.

public boolean
# isAutoPageBreakEnabled( )

Return the auto-page-break status

public
# enableAutoPageBreak( boolean $isenabled = true )

Enable or disable automatic page break.

private boolean
# isOutRegion( float $pos, string $min, string $max )

Check if the specified position is outside the region.

public boolean
# isYOutRegion( float $posy = null, float $height = 0 )

Check if the specified vertical position is outside the region.

public boolean
# isXOutRegion( float $posx = null, float $width = 0 )

Check if the specified horizontal position is outside the region.

public float
# getX( )

Return the absolute horizontal cursor position for the current region.

public float
# getY( )

Return the absolute vertical cursor position for the current region.

public
# setX( foat $xpos )

Set the absolute horizontal cursor position for the current region.

public
# setY( foat $ypos )

Set the absolute vertical cursor position for the current region.

Methods inherited from Com\Tecnick\Pdf\Page\Settings
sanitizeAnnotRefs(), sanitizeBoxData(), sanitizeContent(), sanitizeGroup(), sanitizeMargins(), sanitizePageFormat(), sanitizePageNumber(), sanitizeRegions(), sanitizeRotation(), sanitizeTime(), sanitizeTransitions(), sanitizeZoom()
Methods inherited from Com\Tecnick\Pdf\Page\Box
getBox(), getBoxColorInfo(), setBox(), setPageBoxes(), swapCoordinates()
Methods inherited from Com\Tecnick\Pdf\Page\Mode
getDisplay(), getLayout()
Methods inherited from Com\Tecnick\Pdf\Page\Format
convertPoints(), getPageFormatSize(), getPageOrientation(), getPageOrientedSize(), getUnitRatio()
Constants inherited from Com\Tecnick\Pdf\Page\Settings
EPS
Properties inherited from Com\Tecnick\Pdf\Page\Box
$box
Properties inherited from Com\Tecnick\Pdf\Page\Mode
$display, $layout
Properties inherited from Com\Tecnick\Pdf\Page\Format
$format, $unitratio
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy