FolderFontSource
FolderFontSource constructor
Initializes new instance of FolderFontSource
class.
public FolderFontSource(string folderPath, SearchOption searchOption)
Parameter |
Type |
Description |
folderPath |
String |
Path to the folder that contains TrueType fonts. |
searchOption |
SearchOption |
Specifies whether to search the current folder, or the current folder and all sub-folders. |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when folderPath is null. |
DirectoryNotFoundException |
Thrown when path specified in folderPath can’t be located. |
See Also