GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfEncoding Class

    Namespace:
    GemBox.Pdf.Text
    Assembly:
    GemBox.Pdf.dll

    Represents a base class for all types used for transforming a System.String into a sequence of bytes and vice versa.

    • C#
    • VB.NET
    public abstract class PdfEncoding : IPdfEncoding
    Public MustInherit Class PdfEncoding
        Implements IPdfEncoding
    Inheritance:
    System.Object
    PdfEncoding
    Implements
    IPdfEncoding

    Properties

    ASCII

    Gets the ASCII encoding.

    • C#
    • VB.NET
    public static PdfEncoding ASCII { get; }
    Public Shared ReadOnly Property ASCII As PdfEncoding
    Property Value
    PdfEncoding

    The ASCII encoding.

    Byte

    Gets the Byte encoding.

    • C#
    • VB.NET
    public static PdfEncoding Byte { get; }
    Public Shared ReadOnly Property Byte As PdfEncoding
    Property Value
    PdfEncoding

    The Byte encoding.

    PDFDoc

    Gets the PDFDoc encoding.

    • C#
    • VB.NET
    public static PdfEncoding PDFDoc { get; }
    Public Shared ReadOnly Property PDFDoc As PdfEncoding
    Property Value
    PdfEncoding

    The PDFDoc encoding.

    UTF16BE

    Gets the UTF-16 Big Endian encoding with leading byte order mark.

    • C#
    • VB.NET
    public static PdfEncoding UTF16BE { get; }
    Public Shared ReadOnly Property UTF16BE As PdfEncoding
    Property Value
    PdfEncoding

    The UTF-16 Big Endian encoding with leading byte order mark.

    Implements

    IPdfEncoding

    Extension Methods

    PdfEncodingExtensions.GetBytes(IPdfEncoding, ReadOnlySpan<Char>)
    PdfEncodingExtensions.GetString(IPdfEncoding, Byte[])

    Examples

    Basic Objects example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.