phpdftk API Documentation

MediaCriteria extends PdfObject
in package

Media criteria dictionary (/Type /MediaCriteria) — ISO 32000-2 §13.2.3.6.

Inside a rendition's /MH (must-honor) or /BE (best-effort) dictionary to restrict when a rendition is allowed to play: audio support, closed caption presence, locale, bit depth, screen size, etc.

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_5

Table of Contents

Constants

PDF_TYPE  = 'MediaCriteria'

Properties

$a  : bool|null
$c  : bool|null
$d  : PdfDictionary|null
$generationNumber  : int
$l  : PdfArray|null
$o  : bool|null
$objectNumber  : int
$p  : PdfArray|null
$r  : int|null
$s  : bool|null
$v  : PdfArray|null
$z  : PdfDictionary|null

Methods

toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.

Constants

Properties

$generationNumber

public int $generationNumber = 0

Methods

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results