Aspose.Tasks for C++
Aspose::Tasks::Visualization::FontDescriptor Class Referencefinal

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...
 

Detailed Description

Represents font information.

Constructor & Destructor Documentation

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.

Parameters
fontFamilyName of the font family.
sizeSize 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.

Parameters
fontFamilyName of the font family.
sizeSize of the font.
styleStyle 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.

Parameters
fontInstance of FontDescriptor to copy.
styleStyle of the font.

Member Function Documentation

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.