Represents the folder that contains TrueType font files.
Shows how to use a local system folder which contains fonts as a font source.
#include <Aspose.Words.Cpp/Fonts/FolderFontSource.h>
Inheritance diagram for Aspose::Words::Fonts::FolderFontSource:Public Member Functions | |
| FolderFontSource (String folderPath, bool scanSubfolders) | |
| Ctor. More... | |
| FolderFontSource (String folderPath, bool scanSubfolders, int32_t priority) | |
| Ctor. More... | |
| String | get_FolderPath () const |
| Path to the folder. More... | |
| bool | get_ScanSubfolders () const |
| Determines whether or not to scan the subfolders. More... | |
| FontSourceType | get_Type () override |
| Returns the type of the font source. More... | |
| virtual const TypeInfo & | GetType () const override |
| virtual bool | Is (const TypeInfo &target) const override |
Public Member Functions inherited from FontSourceBase | |
| int32_t | get_Priority () const |
| Returns the font source priority. More... | |
| SharedPtr< IWarningCallback > | get_WarningCallback () const |
| Called during processing of font source when an issue is detected that might result in formatting fidelity loss. More... | |
| SharedPtr< IList< SharedPtr< PhysicalFontInfo > > > | GetAvailableFonts () |
| Returns list of fonts available via this source. More... | |
| void | set_WarningCallback (SharedPtr< IWarningCallback > value) |
| Setter for get_WarningCallback. More... | |
Static Public Member Functions | |
| static const TypeInfo & | Type () |
Static Public Member Functions inherited from FontSourceBase | |
| static const TypeInfo & | Type () |
| Aspose::Words::Fonts::FolderFontSource::FolderFontSource | ( | System::String | folderPath, |
| bool | scanSubfolders | ||
| ) |
Ctor.
| folderPath | Path to folder. |
| scanSubfolders | Determines whether or not to scan subfolders. |
Shows how to use a local system folder which contains fonts as a font source.
| Aspose::Words::Fonts::FolderFontSource::FolderFontSource | ( | System::String | folderPath, |
| bool | scanSubfolders, | ||
| int32_t | priority | ||
| ) |
Ctor.
| folderPath | Path to folder. |
| scanSubfolders | Determines whether or not to scan subfolders. |
| priority | Font source priority. See the Priority property description for more information. |
Shows how to use a local system folder which contains fonts as a font source.
| System::String Aspose::Words::Fonts::FolderFontSource::get_FolderPath | ( | ) | const |
Path to the folder.
Shows how to use a local system folder which contains fonts as a font source.
| bool Aspose::Words::Fonts::FolderFontSource::get_ScanSubfolders | ( | ) | const |
Determines whether or not to scan the subfolders.
Shows how to use a local system folder which contains fonts as a font source.
|
overridevirtual |
Returns the type of the font source.
Shows how to use a local system folder which contains fonts as a font source.
Implements Aspose::Words::Fonts::FontSourceBase.
|
overridevirtual |
Reimplemented from Aspose::Words::Fonts::FontSourceBase.
|
overridevirtual |
Reimplemented from Aspose::Words::Fonts::FontSourceBase.
|
static |