phpdftk API Documentation

MediaClipData extends MediaClip
in package

Media clip data (/Type /MediaClip /S /MCD) — ISO 32000-2 §13.2.4.2.

Points to the actual media bytes via a FileSpec (external or embedded) plus a MIME type.

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

Table of Contents

Constants

PDF_TYPE  = 'MediaClip'

Properties

$alt  : PdfString|null
$bu  : PdfDictionary|null
$ct  : PdfString|null
$d  : FileSpec|PdfReference
$generationNumber  : int
$n  : PdfString|null
$objectNumber  : int
$p  : PdfDictionary|null
$pl  : PdfDictionary|null

Methods

__construct()  : mixed
getMediaClipSubtype()  : string
Returns the /S (subtype) value: "MCD" or "MCS".
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 = 'MediaClip'

Properties

$generationNumber

public int $generationNumber = 0

Methods

getMediaClipSubtype()

Returns the /S (subtype) value: "MCD" or "MCS".

public getMediaClipSubtype() : string
Return values
string

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