Enum PdfStringEncoding
Determines the encoding of a PdfString or PdfStringObject.
[Flags]
public enum PdfStringEncoding
Fields
MacExpertEncoding = 5
Not yet used by PDFsharp.
MacRomanEncoding = 5
Not yet used by PDFsharp.
PDFDocEncoding = 2
The characters of the string are actually bytes with PDF document encoding. With this encoding the 8 high bits of each character is zero.
RawEncoding = 0
The characters of the string are actually bytes with an unknown or context specific meaning or encoding. With this encoding the 8 high bits of each character is zero.
StandardEncoding = 1
Not yet used by PDFsharp.
Unicode = 6
The characters of the string are Unicode code units. Each char of the string is either a BMP code point or a high or low surrogate.
WinAnsiEncoding = StandardEncoding | PDFDocEncoding
The characters of the string are actually bytes with Windows ANSI encoding. With this encoding the 8 high bits of each character is zero.