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

Project's view class More...

#include <GanttChartColumn.h>

Inherits Aspose::Tasks::Visualization::ViewColumn.

Public Member Functions

Aspose::Tasks::Field get_Field () override
 Column field. Field. More...
 
void set_Field (Aspose::Tasks::Field value) override
 Column field. Field. More...
 
 GanttChartColumn (const System::String &name, int32_t width, TaskToColumnTextConverter converter, Aspose::Tasks::Field field)
 Initializes a new instance of the GanttChartColumn class. More...
 
 GanttChartColumn (const System::String &name, int32_t width, TaskToColumnTextConverter converter)
 Initializes a new instance of the GanttChartColumn class. More...
 
 GanttChartColumn (int32_t width, Aspose::Tasks::Field field)
 Initializes a new instance of the GanttChartColumn class. More...
 
 GanttChartColumn (const System::String &name, int32_t width, Aspose::Tasks::Field field)
 Initializes a new instance of the GanttChartColumn class. More...
 
System::String GetColumnText (const System::SharedPtr< Task > &task)
 Converts current task to the column text. More...
 
- Public Member Functions inherited from Aspose::Tasks::Visualization::ViewColumn
System::String get_Name () const
 Gets the column name. More...
 
HorizontalStringAlignment get_StringAlignment () const
 Gets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration). More...
 
void set_StringAlignment (HorizontalStringAlignment value)
 Sets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration). More...
 
int32_t get_Width () const
 Gets the column width. More...
 
const System::SharedPtr< ITextStyleModificationCallback > & get_TextStyleModificationCallback () const
 Gets the callback which can be used to customize the appearance of the column's cells. More...
 
void set_TextStyleModificationCallback (const System::SharedPtr< ITextStyleModificationCallback > &value)
 Sets the callback which can be used to customize the appearance of the column's cells. More...
 

Detailed Description

Project's view class

Constructor & Destructor Documentation

◆ GanttChartColumn() [1/4]

Aspose::Tasks::Visualization::GanttChartColumn::GanttChartColumn ( const System::String &  name,
int32_t  width,
TaskToColumnTextConverter  converter,
Aspose::Tasks::Field  field 
)

Initializes a new instance of the GanttChartColumn class.

Parameters
nameColumn's name.
widthColumn's width in pixels.
converterTask data to column text converter.
fieldColumn field.

◆ GanttChartColumn() [2/4]

Aspose::Tasks::Visualization::GanttChartColumn::GanttChartColumn ( const System::String &  name,
int32_t  width,
TaskToColumnTextConverter  converter 
)

Initializes a new instance of the GanttChartColumn class.

Parameters
nameColumn's name.
widthColumn's width in pixels.
converterTask data to column text converter.

◆ GanttChartColumn() [3/4]

Aspose::Tasks::Visualization::GanttChartColumn::GanttChartColumn ( int32_t  width,
Aspose::Tasks::Field  field 
)

Initializes a new instance of the GanttChartColumn class.

Parameters
widthColumn width in pixels.
fieldColumn field.

◆ GanttChartColumn() [4/4]

Aspose::Tasks::Visualization::GanttChartColumn::GanttChartColumn ( const System::String &  name,
int32_t  width,
Aspose::Tasks::Field  field 
)

Initializes a new instance of the GanttChartColumn class.

Parameters
nameColumn name.
widthColumn width in pixels.
fieldColumn field.

Member Function Documentation

◆ get_Field()

Aspose::Tasks::Field Aspose::Tasks::Visualization::GanttChartColumn::get_Field ( )
overridevirtual

Column field. Field.

Implements Aspose::Tasks::Visualization::ViewColumn.

◆ GetColumnText()

System::String Aspose::Tasks::Visualization::GanttChartColumn::GetColumnText ( const System::SharedPtr< Task > &  task)

Converts current task to the column text.

Parameters
taskCurrent task.
Returns
The column text.

◆ set_Field()

void Aspose::Tasks::Visualization::GanttChartColumn::set_Field ( Aspose::Tasks::Field  value)
overridevirtual

Column field. Field.

Implements Aspose::Tasks::Visualization::ViewColumn.