MediaRendition
extends Rendition
in package
Media rendition (/Type /Rendition /S /MR) — ISO 32000-2 §13.2.3.3.
Refers to a single MediaClip together with playback and screen params.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_5
Table of Contents
Constants
- PDF_TYPE = 'Rendition'
Properties
- $be : PdfDictionary|null
- $c : MediaClip|PdfReference|null
- $generationNumber : int
- $mh : PdfDictionary|null
- $n : PdfString|null
- $objectNumber : int
- $p : MediaPlayParams|PdfReference|null
- $sp : MediaScreenParams|PdfReference|null
Methods
- getRenditionSubtype() : string
- Returns the /S (subtype) value, e.g. "MR" or "SR".
- 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.
- baseDictionary() : PdfDictionary
Constants
PDF_TYPE
public
mixed
PDF_TYPE
= 'Rendition'
Properties
$be
public
PdfDictionary|null
$be
= null
$c
public
MediaClip|PdfReference|null
$c
= null
$generationNumber
public
int
$generationNumber
= 0
$mh
public
PdfDictionary|null
$mh
= null
$n
public
PdfString|null
$n
= null
$objectNumber
public
int
$objectNumber
= 0
$p
public
MediaPlayParams|PdfReference|null
$p
= null
$sp
public
MediaScreenParams|PdfReference|null
$sp
= null
Methods
getRenditionSubtype()
Returns the /S (subtype) value, e.g. "MR" or "SR".
public
getRenditionSubtype() : string
Return values
stringtoIndirectObject()
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
Return values
stringbaseDictionary()
protected
baseDictionary() : PdfDictionary