Click or drag to resize

PdfStringToString Method

Returns a String that represents this PdfString instance.

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public override sealed string ToString()

Return Value

String
A String that represents this PdfString instance.
Remarks
If the PdfString starts with the 0xFE 0xFF bytes, then UTF16BE encoding will be used; otherwise, if all bytes from this PdfString can be decoded with PDFDoc encoding, then PDFDoc encoding will be used; otherwise, Byte encoding is used.
See Also