FolderFontSource Constructor
Initializes new instance of FolderFontSource class.

Namespace: GroupDocs.Viewer.Fonts
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.10
Syntax
public FolderFontSource(
	string folderPath,
	SearchOption searchOption
)

Parameters

folderPath
Type: SystemString
Path to the folder that contains TrueType fonts.
searchOption
Type: GroupDocs.Viewer.FontsSearchOption
Specifies whether to search the current folder, or the current folder and all sub-folders.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when folderPath is null.
DirectoryNotFoundExceptionThrown when path specified in folderPath can't be located.
See Also