SetaPDF_Core_PageBoundaries Page Boundaries

File: /SetaPDF v2/Core/PageBoundaries.php

Class hierarchy

Summary

Constants

ART_BOX

const string SetaPDF_Core_PageBoundaries::ART_BOX = 'ArtBox'

ArtBox

The art box defines the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.

See
  • PDF 32000-1:2008 - 14.11.2 Page Boundaries

BLEED_BOX

const string SetaPDF_Core_PageBoundaries::BLEED_BOX = 'BleedBox'

BleedBox

The bleed box defines the region to which the contents of the page shall be clipped when output in a production environment.

See
  • PDF 32000-1:2008 - 14.11.2 Page Boundaries

CROP_BOX

const string SetaPDF_Core_PageBoundaries::CROP_BOX = 'CropBox'

CropBox

The crop box defines the region to which the contents of the page shall be clipped (cropped) when displayed or printed.

See
  • PDF 32000-1:2008 - 14.11.2 Page Boundaries

MEDIA_BOX

const string SetaPDF_Core_PageBoundaries::MEDIA_BOX = 'MediaBox'

MediaBox

The media box defines the boundaries of the physical medium on which the page is to be printed.

See
  • PDF 32000-1:2008 - 14.11.2 Page Boundaries

TRIM_BOX

const string SetaPDF_Core_PageBoundaries::TRIM_BOX = 'TrimBox'

TrimBox

The trim box defines the intended dimensions of the finished page after trimming.

See
  • PDF 32000-1:2008 - 14.11.2 Page Boundaries

Static Properties

$all

static public array SetaPDF_Core_PageBoundaries::$all = array(...)

All page boundaries


Static Methods

isValidName()

static public SetaPDF_Core_PageBoundaries::isValidName (
string $name
): boolean

Checks if a name is a valid page boundary name.

Parameters
$name : string

The boundary name

Return Values

A boolean value whether the name is valid or not.