public void SetSpecifyFontFolder()
{
FontSettings fontSettings = new FontSettings();
fontSettings.SetFontsFolder(MyDir + @"MyFonts\", false);
// Using load options
LoadOptions loadOptions = new LoadOptions();
loadOptions.FontSettings = fontSettings;
Document doc = new Document(MyDir + "Rendering.doc", loadOptions);
FolderFontSource folderSource = ((FolderFontSource)doc.FontSettings.GetFontsSources()[0]);
Assert.AreEqual(MyDir + @"MyFonts\", folderSource.FolderPath);
Assert.False(folderSource.ScanSubfolders);
}