public final class FolderFontSource extends Object implements com.aspose.IFontSource
| Constructor and Description |
|---|
FolderFontSource(String folderPath,
SearchOption searchOption)
Initializes a new instance of the FolderFontSource class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFolderPath()
Gets the folder path.
|
Iterable<com.aspose.IFontData> |
getFontDataInternal() |
int |
getPriorityInternal() |
SearchOption |
getSearchOption()
Gets the search option (SearchOption value).
|
int |
hashCode() |
boolean |
isRecursive()
Returns true if subdirectories should be included.
|
String |
toString() |
public FolderFontSource(String folderPath, SearchOption searchOption)
folderPath - Path to the folder that contains TrueType fonts.searchOption - One of SearchOption.TOP_DIRECTORY_ONLY or SearchOption.ALL_DIRECTORIES.IllegalArgumentException - if folderPath is null.IllegalStateException - if folder does not exist.public String getFolderPath()
public Iterable<com.aspose.IFontData> getFontDataInternal()
getFontDataInternal in interface com.aspose.IFontSourcepublic int getPriorityInternal()
getPriorityInternal in interface com.aspose.IFontSourcepublic SearchOption getSearchOption()
public boolean isRecursive()
Copyright © 2026. All rights reserved.