Method FromText
- Namespace
- SoftZenPdf.Objects
- Assembly
- SoftZenPdf.dll
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.
public static PdfString FromText(string text, bool hex = false)