Aspose.Tasks for C++
|
Represents font information. More...
#include <FontDescriptor.h>
Inherits Object.
Public Member Functions | |
System::String | get_FontFamily () const |
Gets the name of the font's family. More... | |
float | get_Size () const |
Gets size of the font. More... | |
FontStyles | get_Style () const |
Gets style of the font. More... | |
FontDescriptor (const System::String &fontFamily, float size) | |
Initializes a new instance of the FontDescriptor class with the specified font family and size. More... | |
FontDescriptor (const System::String &fontFamily, float size, FontStyles style) | |
Initializes a new instance of the FontDescriptor class with the specified font family, size and style. More... | |
FontDescriptor (const System::SharedPtr< FontDescriptor > &font, FontStyles style) | |
Initializes a new instance of the FontDescriptor class with the specified font and style. More... | |
Represents font information.
Aspose::Tasks::Visualization::FontDescriptor::FontDescriptor | ( | const System::String & | fontFamily, |
float | size | ||
) |
Initializes a new instance of the FontDescriptor class with the specified font family and size.
fontFamily | Name of the font family. |
size | Size of the font. |
Aspose::Tasks::Visualization::FontDescriptor::FontDescriptor | ( | const System::String & | fontFamily, |
float | size, | ||
FontStyles | style | ||
) |
Initializes a new instance of the FontDescriptor class with the specified font family, size and style.
fontFamily | Name of the font family. |
size | Size of the font. |
style | Style of the font. |
Aspose::Tasks::Visualization::FontDescriptor::FontDescriptor | ( | const System::SharedPtr< FontDescriptor > & | font, |
FontStyles | style | ||
) |
Initializes a new instance of the FontDescriptor class with the specified font and style.
font | Instance of FontDescriptor to copy. |
style | Style of the font. |
System::String Aspose::Tasks::Visualization::FontDescriptor::get_FontFamily | ( | ) | const |
Gets the name of the font's family.
float Aspose::Tasks::Visualization::FontDescriptor::get_Size | ( | ) | const |
Gets size of the font.
FontStyles Aspose::Tasks::Visualization::FontDescriptor::get_Style | ( | ) | const |
Gets style of the font.