PdfFont.IsAvailableThroughLoader Method

Checks whether this font can be loaded using the current FontLoader.

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

Syntax

C#
public bool IsAvailableThroughLoader()
VB
Public Function IsAvailableThroughLoader As Boolean

Return Value

Type: Boolean
true if font bytes can be loaded using the current FontLoader; otherwise, false.

Remarks

This method allows you to check PDF font before unembedding using Unembed() method. PDF viewers might not be able to properly render text when the unembedded font is not available in the system font collection.

This method always returns false for Type3 fonts.

See Also