OCUsage
in package
implements
Serializable
Optional content usage dictionary — ISO 32000-2 §8.11.4.4, Table 104.
Holds the nine usage sub-dictionaries that let viewers decide whether an OCG should be visible for printing, viewing, exporting, etc. Each entry is a PdfDictionary containing the usage-specific keys (e.g. /Language /Lang /Preferred for /Language).
Attached to OCG::$usage (now OCUsage|PdfDictionary|null).
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_5
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
- $creatorInfo : PdfDictionary|null
- $export : PdfDictionary|null
- $language : PdfDictionary|null
- $pageElement : PdfDictionary|null
- $print : PdfDictionary|null
- $user : PdfDictionary|null
- $view : PdfDictionary|null
- $zoom : PdfDictionary|null
Methods
- toPdf() : string
Properties
$creatorInfo
public
PdfDictionary|null
$creatorInfo
= null
$export
public
PdfDictionary|null
$export
= null
$language
public
PdfDictionary|null
$language
= null
$pageElement
public
PdfDictionary|null
$pageElement
= null
public
PdfDictionary|null
$print
= null
$user
public
PdfDictionary|null
$user
= null
$view
public
PdfDictionary|null
$view
= null
$zoom
public
PdfDictionary|null
$zoom
= null
Methods
toPdf()
public
toPdf() : string