Aspose.Tasks for C++
|
Specifies font settings used when rendering project's view. More...
#include <FontSettings.h>
Inherits Object.
Public Member Functions | |
System::String | get_DefaultFontName () const |
Gets the default (or fallback) font for rendering. More... | |
void | set_DefaultFontName (const System::String &value) |
Sets the default (or fallback) font for rendering. More... | |
bool | get_UseProjectDefaultFont () const |
Gets a value indicating whether the default font must be used for rendering. More... | |
void | set_UseProjectDefaultFont (bool value) |
Sets a value indicating whether the default font must be used for rendering. More... | |
FontResolveCallbackDelegate | get_FontResolveCallback () const |
Gets a callback which can be used to customize resolved fonts. More... | |
void | set_FontResolveCallback (FontResolveCallbackDelegate value) |
Sets a callback which can be used to customize resolved fonts. More... | |
void | SetFontFolders (const System::ArrayPtr< System::String > &fontFolders, bool recursive) |
Sets the folders where Aspose.Tasks looks for TrueType fonts when rendering project's view. More... | |
Specifies font settings used when rendering project's view.
System::String Aspose::Tasks::FontSettings::get_DefaultFontName | ( | ) | const |
Gets the default (or fallback) font for rendering.
FontResolveCallbackDelegate Aspose::Tasks::FontSettings::get_FontResolveCallback | ( | ) | const |
Gets a callback which can be used to customize resolved fonts.
bool Aspose::Tasks::FontSettings::get_UseProjectDefaultFont | ( | ) | const |
Gets a value indicating whether the default font must be used for rendering.
When the value is False and DefaultFontName is specified, the rendering engine will utilize the font specified by DefaultFontName as a fallback font. Otherwise 'Arial' (if installed) or 'Generic Sans Serif' fonts are used as a fallback font. The fallback font is utilized during the rendering of project view when a text style references a font that is not installed on the current operating system. For greater control over font resolution you can use FontResolveCallback callback.
void Aspose::Tasks::FontSettings::set_DefaultFontName | ( | const System::String & | value | ) |
Sets the default (or fallback) font for rendering.
void Aspose::Tasks::FontSettings::set_FontResolveCallback | ( | FontResolveCallbackDelegate | value | ) |
Sets a callback which can be used to customize resolved fonts.
void Aspose::Tasks::FontSettings::set_UseProjectDefaultFont | ( | bool | value | ) |
Sets a value indicating whether the default font must be used for rendering.
When the value is False and DefaultFontName is specified, the rendering engine will utilize the font specified by DefaultFontName as a fallback font. Otherwise 'Arial' (if installed) or 'Generic Sans Serif' fonts are used as a fallback font. The fallback font is utilized during the rendering of project view when a text style references a font that is not installed on the current operating system. For greater control over font resolution you can use FontResolveCallback callback.
void Aspose::Tasks::FontSettings::SetFontFolders | ( | const System::ArrayPtr< System::String > & | fontFolders, |
bool | recursive | ||
) |
Sets the folders where Aspose.Tasks looks for TrueType fonts when rendering project's view.
fontFolders | An array of folders that contain TrueType fonts. |
recursive | If true the specified folders will be scanned recursively. |