FolderFontSource constructor
init
Initializes new instance of FolderFontSource class.
def __init__(self, folder_path, search_option):
...
| Parameter |
Type |
Description |
| folder_path |
System.String |
Path to the folder that contains TrueType fonts. |
| search_option |
groupdocs.viewer.fonts.SearchOption |
Specifies whether to search the current folder, or the current folder and all sub-folders. |
Exceptions
| Exception |
Description |
| ArgumentNullException |
Thrown when folder_path is null. |
| DirectoryNotFoundException |
Thrown when path specified in folder_path can’t be located. |
See Also