Aspose.Tasks for C++
|
Change the visual style of the text for an item in the project view. More...
#include <TextStyle.h>
Inherits Object.
Inherited by Aspose::Tasks::Visualization::TableTextStyle.
Public Member Functions | |
System::SharedPtr< FontDescriptor > | get_Font () const |
Gets font of the text style. More... | |
void | set_Font (const System::SharedPtr< FontDescriptor > &value) |
Sets font of the text style. More... | |
System::Drawing::Color | get_Color () const |
Gets color of the text. More... | |
void | set_Color (System::Drawing::Color value) |
Sets color of the text. More... | |
virtual TextItemType | get_ItemType () |
Gets TextItemType of the text style. More... | |
virtual void | set_ItemType (TextItemType value) |
Sets TextItemType of the text style. More... | |
Aspose::Tasks::BackgroundPattern | get_BackgroundPattern () const |
Gets background pattern of the text style. BackgroundPattern. More... | |
void | set_BackgroundPattern (Aspose::Tasks::BackgroundPattern value) |
Sets background pattern of the text style. BackgroundPattern. More... | |
System::Drawing::Color | get_BackgroundColor () const |
Gets background color of the text style. Color. More... | |
void | set_BackgroundColor (System::Drawing::Color value) |
Sets background color of the text style. Color. More... | |
TextStyle () | |
Initializes a new instance of the TextStyle class with default settings. More... | |
TextStyle (float fontSize, FontStyles fontStyle) | |
Initializes a new instance of the TextStyle class with the default font and specified font size and style. More... | |
TextStyle (FontStyles fontStyle) | |
Initializes a new instance of the TextStyle class with the default font and specified font style. More... | |
TextStyle (const System::SharedPtr< FontDescriptor > &font) | |
Initializes a new instance of the TextStyle class with the specified font settings. More... | |
Change the visual style of the text for an item in the project view.
Aspose::Tasks::Visualization::TextStyle::TextStyle | ( | ) |
Initializes a new instance of the TextStyle class with default settings.
Aspose::Tasks::Visualization::TextStyle::TextStyle | ( | float | fontSize, |
FontStyles | fontStyle | ||
) |
Aspose::Tasks::Visualization::TextStyle::TextStyle | ( | FontStyles | fontStyle | ) |
Initializes a new instance of the TextStyle class with the default font and specified font style.
fontStyle | Style of font to apply to default font. |
Aspose::Tasks::Visualization::TextStyle::TextStyle | ( | const System::SharedPtr< FontDescriptor > & | font | ) |
System::Drawing::Color Aspose::Tasks::Visualization::TextStyle::get_BackgroundColor | ( | ) | const |
Gets background color of the text style. Color.
Aspose::Tasks::BackgroundPattern Aspose::Tasks::Visualization::TextStyle::get_BackgroundPattern | ( | ) | const |
Gets background pattern of the text style. BackgroundPattern.
System::Drawing::Color Aspose::Tasks::Visualization::TextStyle::get_Color | ( | ) | const |
Gets color of the text.
System::SharedPtr<FontDescriptor> Aspose::Tasks::Visualization::TextStyle::get_Font | ( | ) | const |
Gets font of the text style.
|
virtual |
Gets TextItemType of the text style.
Reimplemented in Aspose::Tasks::Visualization::TableTextStyle.
void Aspose::Tasks::Visualization::TextStyle::set_BackgroundColor | ( | System::Drawing::Color | value | ) |
Sets background color of the text style. Color.
void Aspose::Tasks::Visualization::TextStyle::set_BackgroundPattern | ( | Aspose::Tasks::BackgroundPattern | value | ) |
Sets background pattern of the text style. BackgroundPattern.
void Aspose::Tasks::Visualization::TextStyle::set_Color | ( | System::Drawing::Color | value | ) |
Sets color of the text.
void Aspose::Tasks::Visualization::TextStyle::set_Font | ( | const System::SharedPtr< FontDescriptor > & | value | ) |
Sets font of the text style.
|
virtual |
Sets TextItemType of the text style.