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
PDF_TYPE
public
mixed
PDF_TYPE
= 'MediaCriteria'
Properties
$a
public
bool|null
$a
= null
$c
public
bool|null
$c
= null
$d
public
PdfDictionary|null
$d
= null
$generationNumber
public
int
$generationNumber
= 0
$l
public
PdfArray|null
$l
= null
$o
public
bool|null
$o
= null
$objectNumber
public
int
$objectNumber
= 0
$p
public
PdfArray|null
$p
= null
$r
public
int|null
$r
= null
$s
public
bool|null
$s
= null
$v
public
PdfArray|null
$v
= null
$z
public
PdfDictionary|null
$z
= null
Methods
toIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string