PdfFont.IsBuiltIn Method

Checks whether this font is built-in Type1 font.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public bool IsBuiltIn()
Public Function IsBuiltIn As Boolean

Return Value

Type: Boolean
true if this font is built-in Type1 font; otherwise, false.


This method allows you to check PDF font before unembedding using Unembed() method. PDF viewers might not be able to properly render text drawn using custom non-embedded Type1 font.

Built-in Type1 fonts are also known as Base14 fonts. Look at the PdfBuiltInFont enumeration for more detail.

This method always returns false for TrueType, Type0, and Type3 fonts.

See Also