Click or drag to resize

PdfEncoding Class

Represents a base class for all types used for transforming a String into a sequence of bytes and vice versa.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.TextPdfEncoding

Namespace: SautinSoft.Pdf.Text
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public abstract class PdfEncoding : IPdfEncoding

The PdfEncoding type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberASCII Gets the ASCII encoding.
Public propertyStatic memberByte Gets the Byte encoding.
Public propertyStatic memberPDFDoc Gets the PDFDoc encoding.
Public propertyStatic memberUTF16BE Gets the UTF-16 Big Endian encoding with leading byte order mark.
Public propertyStatic memberWinAnsi Gets the Windows ANSI encoding.
Top
Methods
 NameDescription
Public methodGetByteCount Calculates the number of bytes produced by encoding the characters in the specified string.
Public methodGetBytes Encodes a set of characters from the specified string into the specified byte array.
Public methodGetMaxByteCount Calculates the maximum number of bytes produced by encoding the specified number of characters.
Public methodGetString Decodes a sequence of bytes from the specified byte array into a string.
Top
Extension Methods
 NameDescription
Public Extension MethodGetBytes Encodes all the characters in the specified string into a sequence of bytes.
(Defined by PdfEncodingExtensions)
Public Extension MethodGetString Decodes a sequence of bytes from the specified byte array into a string.
(Defined by PdfEncodingExtensions)
Top
See Also