Xamarin.Android

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

    Show / Hide Table of Contents

    Class PdfFontType

    Specifies the type of the font.

    Inheritance
    System.Object
    PdfFontType
    Namespace: Syncfusion.Pdf.Graphics
    Assembly: Syncfusion.Pdf.Portable.dll
    Syntax
    public sealed class PdfFontType : Enum
    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

    Standard

    Indicates the standard Adobe fonts.

    Declaration
    public const PdfFontType Standard
    Field Value
    Type Description
    PdfFontType

    TrueType

    Indicates the non-embedded TrueType fonts.

    Declaration
    public const PdfFontType TrueType
    Field Value
    Type Description
    PdfFontType

    TrueTypeEmbedded

    Indicates the Embedded TrueType fonts.

    Declaration
    public const PdfFontType TrueTypeEmbedded
    Field Value
    Type Description
    PdfFontType

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved