FolderFontSource class
Leave feedback
On this page
Represents the folder that contains TrueType fonts.
The FolderFontSource type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of FolderFontSource. |
| Method | Description |
|---|---|
| equals | Determines whether the current FolderFontSource is the same as the specified FolderFontSource object. |
| equals | Determines whether the current FolderFontSource is the same as the specified object. |
| equals_folder_font_source | |
| equals_object | |
| get_hash_code | Returns the hash code for the current FolderFontSource object. |
| to_string | Returns a string that represents the current object. |
| Property | Description |
|---|---|
| folder_path | The path to the folder that contains TrueType fonts. |
| search_option | The search option specifying whether to search the current folder, or the current folder and all subfolders. |
from groupdocs.viewer.fonts import FolderFontSource, SearchOption
# Create a font source that searches all subfolders.
src = FolderFontSource("C:/fonts/primary", SearchOption.ALL_FOLDERS)
- module
groupdocs.viewer.fonts
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.