FolderFontSource
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.IFontSource
public final class FolderFontSource implements IFontSource
Represents the folder that contains TrueType fonts.
| Constructor | Description |
|---|---|
| FolderFontSource(String folderPath, SearchOption searchOption) | Initializes a new instance of the FolderFontSource class. |
| Method | Description |
|---|---|
| getFolderPath() | Gets the folder path. |
| getSearchOption() | Gets the search option (SearchOption value). |
| isRecursive() | Returns true if subdirectories should be included. |
| getPriorityInternal() | |
| getFontDataInternal() | |
| equals(Object obj) | |
| hashCode() | |
| toString() |
public FolderFontSource(String folderPath, SearchOption searchOption)
Initializes a new instance of the FolderFontSource class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| folderPath | java.lang.String | Path to the folder that contains TrueType fonts. |
| searchOption | SearchOption | One of SearchOption.TOP_DIRECTORY_ONLY or SearchOption.ALL_DIRECTORIES. |
public String getFolderPath()
Gets the folder path.
Returns: java.lang.String
public SearchOption getSearchOption()
Gets the search option (SearchOption value).
Returns: SearchOption
public boolean isRecursive()
Returns true if subdirectories should be included.
Returns: boolean
public int getPriorityInternal()
Returns: int
public Iterable<IFontData> getFontDataInternal()
Returns: java.lang.Iterable<com.aspose.IFontData>
public boolean equals(Object obj)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
public int hashCode()
Returns: int
public String toString()
Returns: java.lang.String
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.