FolderFontSource Constructor |
Namespace: GroupDocs.Viewer.FontsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic FolderFontSource(
string folderPath,
SearchOption searchOption
)
Public Sub New (
folderPath As String,
searchOption As SearchOption
)
public:
FolderFontSource(
String^ folderPath,
SearchOption searchOption
)
new :
folderPath : string *
searchOption : SearchOption -> FolderFontSource
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.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when folderPath is null. |
DirectoryNotFoundException | Thrown when path specified in folderPath can't be located. |
See Also