Property FontLoader
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
FontLoader
Gets or sets the font loader.
public IFontLoader FontLoader { get; set; }
Property Value
- IFontLoader
The font loader to use.
Remarks
The font loader can not be null. By default, the library uses the static
instance of SystemFontLoader for font loaders.
The library uses font loader to get font bytes when:
- the font is not embedded in the PDF document, or
- the font is added to the PDF document by using family name and style only
Read the Font loading in cloud environments for an example of using this property.
Take a look at the Embed PDF fonts sample to learn how to set up a font loader.