phpdftk API Documentation

PdfString
in package
implements Serializable

Represents a PDF literal string (text) or a hex string <hex>.

Table of Contents

Interfaces

Serializable
Contract for anything that can emit raw PDF syntax via `toPdf()`.

Properties

$hex  : bool
$value  : string

Methods

__construct()  : mixed
toPdf()  : string

Properties

Methods

__construct()

public __construct(string $value[, bool $hex = false ]) : mixed
Parameters
$value : string
$hex : bool = false

toPdf()

public toPdf() : string
Return values
string

        
On this page

Search results