Click or drag to resize

PdfStringToString Method

Returns a String that represents this PdfString instance.

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

Return Value

Type: 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