8 #include <system/array.h>
10 #include "aspose.tasks.cpp/Saving/FontResolveCallbackDelegate.h"
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 class FontResolveEventArgs;
20 class HtmlSaveOptions;
21 class ImageSaveOptions;
24 namespace Visualization
38 class ASPOSE_TASKS_SHARED_CLASS
FontSettings final :
public System::Object
41 typedef System::Object BaseType;
43 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
49 friend class Aspose::Tasks::Visualization::FontManager;
91 ASPOSE_TASKS_SHARED_API
void SetFontFolders(
const System::ArrayPtr<System::String>& fontFolders,
bool recursive);
97 ASPOSE_TASKS_SHARED_API
const System::ArrayPtr<System::String>& get_FontFolders()
const;
98 ASPOSE_TASKS_SHARED_API
void set_FontFolders(
const System::ArrayPtr<System::String>& value);
99 ASPOSE_TASKS_SHARED_API
bool get_Recursive()
const;
100 ASPOSE_TASKS_SHARED_API
void set_Recursive(
bool value);
102 ASPOSE_TASKS_SHARED_API System::SharedPtr<FontSettings> Clone();
103 #ifdef ASPOSE_GET_SHARED_MEMBERS
104 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
110 System::ArrayPtr<System::String> pr_FontFolders;
112 System::String pr_DefaultFontName;
113 bool pr_UseProjectDefaultFont;
114 FontResolveCallbackDelegate pr_FontResolveCallback;
Specifies font settings used when rendering project's view.
Definition: FontSettings.h:39
bool get_UseProjectDefaultFont() const
Gets a value indicating whether the default font must be used for rendering.
void set_FontResolveCallback(FontResolveCallbackDelegate value)
Sets a callback which can be used to customize resolved fonts.
void set_DefaultFontName(const System::String &value)
Sets the default (or fallback) font for rendering.
System::String get_DefaultFontName() const
Gets the default (or fallback) font for rendering.
FontResolveCallbackDelegate get_FontResolveCallback() const
Gets a callback which can be used to customize resolved fonts.
void set_UseProjectDefaultFont(bool value)
Sets a value indicating whether the default font must be used for rendering.
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.
Allows to specify additional options when rendering project pages to HTML.
Definition: HtmlSaveOptions.h:67
Allows to specify additional options when rendering project pages to images.
Definition: ImageSaveOptions.h:58
Allows to specify additional options when rendering project pages to PDF.
Definition: PdfSaveOptions.h:62