Tries to embed font bytes into the PDF file.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
VB
Public Function Embed As Boolean
Return Value
Type:
Booleantrue if font bytes were successfully found and embedded; otherwise,
false.
Remarks
This method might fail to embed font bytes in the following cases:
-
Font is already embedded. For such fonts the Embedded
property is true.
-
Font bytes were not found in the collection of fonts installed in the operating
system and in the collection of built-in PDF fonts.
-
Font is not allowed to be embedded in documents (according to the license associated
with the font).
-
Font is a Type3 font. Type3 fonts are always embedded by its nature.
See Also