Class PdfString
- Namespace
- SoftZenPdf.Objects
- Assembly
- SoftZenPdf.dll
A PDF string: a sequence of bytes, written as a literal (…) or hexadecimal <…> string.
public sealed class PdfString : PdfObject
- Inheritance
-
PdfString
- Inherited Members
Constructors
- PdfString(byte[], bool)
Creates a string from raw bytes.
Properties
- Bytes
The raw bytes (decrypted, for strings read from encrypted files).
- IsHex
Whether the string is written in hexadecimal form.
Methods
- FromText(string, bool)
Creates a PDF text string (ISO 32000-1 §7.9.2.2): printable ASCII is stored as-is, anything else as UTF-16BE with a byte-order mark.