phpdftk API Documentation

ViewerPreferences extends PdfObject
in package

PDF Viewer Preferences dictionary.

Controls how the PDF viewer displays the document.

Table of Contents

Properties

$centerWindow  : bool|null
$direction  : PdfName|null
$displayDocTitle  : bool|null
$duplex  : PdfName|null
$enforce  : PdfArray|null
$fitWindow  : bool|null
$generationNumber  : int
$hideMenubar  : bool|null
$hideToolbar  : bool|null
$hideWindowUI  : bool|null
$nonFullScreenPageMode  : PdfName|null
$numCopies  : int|null
$objectNumber  : int
$pickTrayByPDFSize  : bool|null
$printArea  : PdfName|null
$printClip  : PdfName|null
$printPageRange  : PdfArray|null
$printScaling  : PdfName|null
$viewArea  : PdfName|null
$viewClip  : PdfName|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.

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