File Formats

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum PdfFontType

    Show / Hide Table of Contents

    Enum PdfFontType

    Specifies the type of the font.

    Namespace: Syncfusion.Pdf.Graphics
    Assembly: Syncfusion.Pdf.Base.dll
    Syntax
    public enum PdfFontType
    Examples
    //Load the existing PDF document.
    PdfLoadedDocument ldoc = new PdfLoadedDocument("input.pdf");
    //Get the use fonts.
    PdfUsedFont[] fonts = ldoc.UsedFonts;
    //Get the used font type.
    PdfFontType fontType = fonts[0].Type;
    //Close the document.
    ldoc.Close(true);
    'Load the existing PDF document
    Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("input.pdf")
    'Get the use fonts.
    Dim fonts() As PdfUsedFont = ldoc.UsedFonts      
    'Get the used font type
    Dim fontType As PdfFontType = fonts(0).Type
    'Close the document.
    ldoc.Close(True)

    Fields

    Name Description
    Standard

    Indicates the standard Adobe fonts.

    TrueType

    Indicates the non-embedded TrueType fonts.

    TrueTypeEmbedded

    Indicates the Embedded TrueType fonts.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved