8 #include <system/string.h>
9 #include <system/enum_helpers.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 namespace Visualization
19 enum class FontStyles;
28 namespace Visualization {
36 typedef System::Object BaseType;
38 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
39 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
50 ASPOSE_TASKS_SHARED_API
float get_Size()
const;
54 ASPOSE_TASKS_SHARED_API FontStyles
get_Style()
const;
61 ASPOSE_TASKS_SHARED_API
FontDescriptor(
const System::String& fontFamily,
float size);
68 ASPOSE_TASKS_SHARED_API
FontDescriptor(
const System::String& fontFamily,
float size, FontStyles style);
74 ASPOSE_TASKS_SHARED_API
FontDescriptor(
const System::SharedPtr<FontDescriptor>& font, FontStyles style);
78 #ifdef ASPOSE_GET_SHARED_MEMBERS
79 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
85 System::String pr_FontFamily;
90 ASPOSE_TASKS_SHARED_API
void set_FontFamily(
const System::String& value);
97 ASPOSE_TASKS_SHARED_API
void set_Size(
float value);
104 ASPOSE_TASKS_SHARED_API
void set_Style(FontStyles value);
Represents font information.
Definition: FontDescriptor.h:34
FontDescriptor(const System::String &fontFamily, float size, FontStyles style)
Initializes a new instance of the FontDescriptor class with the specified font family,...
FontDescriptor(const System::SharedPtr< FontDescriptor > &font, FontStyles style)
Initializes a new instance of the FontDescriptor class with the specified font and style.
System::String get_FontFamily() const
Gets the name of the font's family.
FontStyles get_Style() const
Gets style of the font.
float get_Size() const
Gets size of the font.
FontDescriptor(const System::String &fontFamily, float size)
Initializes a new instance of the FontDescriptor class with the specified font family and size.