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
  GemBox.Pdf.TextPdfEncoding

Namespace:  GemBox.Pdf.Text
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
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.
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