PdfName
in package
implements
Serializable
Represents a PDF name literal, e.g. /MediaBox, /Type, /Font.
Names beginning with / are the canonical PDF name syntax.
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
- $value : string
Methods
- __construct() : mixed
- toPdf() : string
- Returns the PDF name token, escaping characters outside the printable ASCII range (except #) with #XX notation as required by the spec.
Properties
$value read-only
public
string
$value
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
toPdf()
Returns the PDF name token, escaping characters outside the printable ASCII range (except #) with #XX notation as required by the spec.
public
toPdf() : string