Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PdfFontFormat Enumeration

In This Topic
    PdfFontFormat Enumeration
    In This Topic
    Specifies available formats used to represent a font in a PDF document.
    Syntax
    'Declaration
     
    Public Enum PdfFontFormat 
       Inherits System.Enum
    public enum PdfFontFormat : System.Enum 
    Members
    MemberDescription
    Type0AutoOneByteEncodingThe font is saved as one or more Type0 PDF fonts, where each character is encoded by one byte.

    Note that this format can only be used for embedded fonts. For non-embedded fonts, Type0IdentityEncoding is automatically used. If any text has already been added to a document using this encoding, and then the embedding mode for the font is changed to FontEmbedMode.NotEmbed, an exception will occur.

    Type0IdentityEncodingThe font is saved as a single Type0 font with Identity encoding, where each character is encoded with two bytes.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Pdf.PdfFontFormat

    See Also