Table of Contents

Method AddFontDirectory

Namespace
PdfSharp.Fonts
Assembly
PdfSharp.dll

AddFontDirectory(string)

Adds a folder of font files, for example fonts deployed with the application, that the Core build searches before the system's font folders when no custom FontResolver is set. Subfolders are searched too. Families that were already used keep the font they resolved to.

public static void AddFontDirectory(string path)

Parameters

path string

The folder.