8 #include <system/string.h>
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
16 namespace Visualization
19 enum class FontStyles;
32 namespace Visualization {
40 typedef System::Object BaseType;
42 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
43 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
45 friend class System::ObjectExt;
46 friend class FontCollection;
47 friend class System::ObjectExt;
58 ASPOSE_TASKS_SHARED_API
float get_Size()
const;
62 ASPOSE_TASKS_SHARED_API FontStyles
get_Style()
const;
69 ASPOSE_TASKS_SHARED_API
FontDescriptor(
const System::String& fontFamily,
float size);
76 ASPOSE_TASKS_SHARED_API
FontDescriptor(
const System::String& fontFamily,
float size, FontStyles style);
82 ASPOSE_TASKS_SHARED_API
FontDescriptor(
const System::SharedPtr<FontDescriptor>& font, FontStyles style);
86 ASPOSE_TASKS_SHARED_API
bool Equals(
const System::SharedPtr<FontDescriptor>& other);
87 #ifdef ASPOSE_GET_SHARED_MEMBERS
88 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
94 System::String pr_FontFamily;
99 ASPOSE_TASKS_SHARED_API
void set_FontFamily(
const System::String& value);
106 ASPOSE_TASKS_SHARED_API
void set_Size(
float value);
113 ASPOSE_TASKS_SHARED_API
void set_Style(FontStyles value);
114 System::String get_DebuggerDisplay();
Represents font information.
Definition: FontDescriptor.h:38
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.
Aspose.
Definition: Asn.h:13