Class PdfFontType
Specifies the type of the font.
Inheritance
System.Object
PdfFontType
Namespace: Syncfusion.Pdf.Graphics
Assembly: Syncfusion.Pdf.UWP.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 |
---|
PdfFontType |
TrueType
Indicates the non-embedded TrueType fonts.
Declaration
public const PdfFontType TrueType
Field Value
Type |
---|
PdfFontType |
TrueTypeEmbedded
Indicates the Embedded TrueType fonts.
Declaration
public const PdfFontType TrueTypeEmbedded
Field Value
Type |
---|
PdfFontType |