phpdftk API Documentation

MediaPlayParams extends PdfObject
in package

Media play parameters (/Type /MediaPlayParams) — ISO 32000-2 §13.2.5.

Describes how a media clip should play (volume, rate, duration, etc.). The spec splits "must-honor" and "best-effort" parameters into two sub dicts (MH and BE) that may carry entries like V (volume), F (fit), PL (playback list), D (duration), A (auto-play), C (controller).

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

Table of Contents

Constants

PDF_TYPE  = 'MediaPlayParams'

Properties

$be  : PdfDictionary|null
$generationNumber  : int
$mh  : PdfDictionary|null
$objectNumber  : int
$pl  : 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