Aspose.Tasks for C++
Aspose::Tasks::GanttChartView Class Reference

Represents a GanttChart view. More...

#include <GanttChartView.h>

Inherits Aspose::Tasks::View, and Aspose::Tasks::Visualization::ITimescaledView.

Public Member Functions

GanttBarSize get_BarSize () const
 Gets the height, in points, of the Gantt bars in the Gantt Chart. More...
 
void set_BarSize (GanttBarSize value)
 Sets the height, in points, of the Gantt bars in the Gantt Chart. More...
 
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridlines > > > & get_Gridlines () const
 Gets a list of Gridlines of the Gantt Chart view. More...
 
void set_Gridlines (const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridlines >>> &value)
 Sets a list of Gridlines of the Gantt Chart view. More...
 
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Visualization::TextStyle > > > & get_TextStyles () const
 Gets a list of TextStyle of the Gantt Chart view. More...
 
void set_TextStyles (const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Visualization::TextStyle >>> &value)
 Sets a list of TextStyle of the Gantt Chart view. More...
 
bool get_ShowDrawings () const
 Gets a value indicating whether drawings on the Gantt Chart must be shown. More...
 
void set_ShowDrawings (bool value)
 Sets a value indicating whether drawings on the Gantt Chart must be shown. More...
 
bool get_ShowBarSplits () const
 Gets a value indicating whether task splits on the Gantt Chart must be shown. More...
 
void set_ShowBarSplits (bool value)
 Sets a value indicating whether task splits on the Gantt Chart must be shown. More...
 
bool get_RollUpGanttBars () const
 Gets a value indicating whether bars on the Gantt Chart must be rolled up. More...
 
void set_RollUpGanttBars (bool value)
 Sets a value indicating whether bars on the Gantt Chart must be rolled up. More...
 
bool get_BarRounding () const
 Gets a value indicating whether the bars round to the nearest day. The default value is True. More...
 
void set_BarRounding (bool value)
 Sets a value indicating whether the bars round to the nearest day. The default value is True. More...
 
System::SharedPtr< Visualization::TimescaleTierget_BottomTimescaleTier () override
 Gets settings of view's bottom timescale tier. TimescaleTier More...
 
void set_BottomTimescaleTier (System::SharedPtr< Visualization::TimescaleTier > value) override
 Sets settings of view's bottom timescale tier. TimescaleTier More...
 
System::SharedPtr< Visualization::TimescaleTierget_MiddleTimescaleTier () override
 Gets settings of view's middle timescale tier. TimescaleTier. More...
 
void set_MiddleTimescaleTier (System::SharedPtr< Visualization::TimescaleTier > value) override
 Sets settings of view's middle timescale tier. TimescaleTier. More...
 
System::SharedPtr< Visualization::TimescaleTierget_TopTimescaleTier () override
 Gets settings of view's top timescale tier. TimescaleTier. More...
 
void set_TopTimescaleTier (System::SharedPtr< Visualization::TimescaleTier > value) override
 Sets settings of view's top timescale tier. TimescaleTier. More...
 
uint16_t get_TimescaleSizePercentage () override
 
void set_TimescaleSizePercentage (uint16_t value) override
 
bool get_HideRollupBarsWhenSummaryExpanded () const
 Gets a value indicating whether rollup bars will be hidden when expanding summary task. More...
 
void set_HideRollupBarsWhenSummaryExpanded (bool value)
 Sets a value indicating whether rollup bars will be hidden when expanding summary task. More...
 
const System::SharedPtr< Aspose::Tasks::Visualization::ProgressLines > & get_ProgressLines () const
 Gets progress lines for the Gantt Chart view. ProgressLines. More...
 
void set_ProgressLines (const System::SharedPtr< Aspose::Tasks::Visualization::ProgressLines > &value)
 Sets progress lines for the Gantt Chart view. ProgressLines. More...
 
System::SharedPtr< FilterCollectionget_AutoFilters ()
 Gets a list of auto filters of a Gantt Chart view. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Visualization::TableTextStyle > > > get_TableTextStyles ()
 Gets a list of table text styles of the Gantt Chart view. TableTextStyle. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Visualization::GanttBarStyle > > > get_BarStyles ()
 Gets a list of parent (common) bar styles of the Gantt Chart view. GanttBarStyle. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Visualization::GanttBarStyle > > > get_CustomBarStyles ()
 Gets a list of custom task-specific bar styles of the Gantt Chart view. GanttBarStyle. More...
 
System::Drawing::Color get_NonWorkingTimeColor () const
 Gets non-working time color. More...
 
void set_NonWorkingTimeColor (System::Drawing::Color value)
 Sets non-working time color. More...
 
 GanttChartView ()
 Initializes a new instance of the GanttChartView class. More...
 
- Public Member Functions inherited from Aspose::Tasks::View
System::SharedPtr< Aspose::Tasks::Filterget_Filter ()
 Gets a filter used in a single view. More...
 
void set_Filter (const System::SharedPtr< Aspose::Tasks::Filter > &value)
 Sets a filter used in a single view. More...
 
System::SharedPtr< Aspose::Tasks::Groupget_Group ()
 Gets a group of the single view. More...
 
void set_Group (const System::SharedPtr< Aspose::Tasks::Group > &value)
 Sets a group of the single view. More...
 
int32_t get_Uid () const
 Gets the unique identifier of a view. More...
 
bool get_HighlightFilter () const
 Gets a value indicating whether Microsoft Project highlights the filter for a single view. More...
 
void set_HighlightFilter (bool value)
 Sets a value indicating whether Microsoft Project highlights the filter for a single view. More...
 
System::String get_Name () const
 Gets the name of a View object. More...
 
void set_Name (const System::String &value)
 Sets the name of a View object. More...
 
ViewScreen get_Screen () const
 Gets the screen type for the single view. Read-only ViewScreen. More...
 
const System::SharedPtr< Project > & get_ParentProject () const
 Gets the parent of the View object. Read-only Project. More...
 
System::SharedPtr< Aspose::Tasks::Tableget_Table ()
 Gets a table of the single view. More...
 
void set_Table (const System::SharedPtr< Aspose::Tasks::Table > &value)
 Sets a table of the single view. More...
 
ItemType get_Type () const
 Gets the type of item in the single view, such as tasks or resources. Read-only ItemType. More...
 
bool get_ShowInMenu () const
 Gets a value indicating whether Microsoft Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon. More...
 
void set_ShowInMenu (bool value)
 Sets a value indicating whether Microsoft Project shows the single view name in the View or the Other Views drop-down lists in the Ribbon. More...
 
System::SharedPtr< Aspose::Tasks::Visualization::PageInfoget_PageInfo () const
 Gets an instance of the PageInfo class. Represents page setup data which is present in mpp file format. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Visualization::VisualObjectPlacement > > > get_VisualObjectsPlacements ()
 Gets a collection of objects representing placement and appearance of OleObject in the view. More...
 
 View ()
 Initializes a new instance of the View class. More...
 
 View (ViewScreen viewScreen)
 Initializes a new instance of the View class. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
int32_t GetHashCode () const override
 Returns a hash code value for the instance of the Resource class. More...
 
int32_t CompareTo (System::SharedPtr< View > other) override
 Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. More...
 

Detailed Description

Represents a GanttChart view.

Constructor & Destructor Documentation

◆ GanttChartView()

Aspose::Tasks::GanttChartView::GanttChartView ( )

Initializes a new instance of the GanttChartView class.

Member Function Documentation

◆ get_AutoFilters()

System::SharedPtr<FilterCollection> Aspose::Tasks::GanttChartView::get_AutoFilters ( )

Gets a list of auto filters of a Gantt Chart view.

◆ get_BarRounding()

bool Aspose::Tasks::GanttChartView::get_BarRounding ( ) const

Gets a value indicating whether the bars round to the nearest day. The default value is True.

◆ get_BarSize()

GanttBarSize Aspose::Tasks::GanttChartView::get_BarSize ( ) const

Gets the height, in points, of the Gantt bars in the Gantt Chart.

◆ get_BarStyles()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::GanttBarStyle> > > Aspose::Tasks::GanttChartView::get_BarStyles ( )

Gets a list of parent (common) bar styles of the Gantt Chart view. GanttBarStyle.

◆ get_BottomTimescaleTier()

System::SharedPtr<Visualization::TimescaleTier> Aspose::Tasks::GanttChartView::get_BottomTimescaleTier ( )
override

Gets settings of view's bottom timescale tier. TimescaleTier

◆ get_CustomBarStyles()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::GanttBarStyle> > > Aspose::Tasks::GanttChartView::get_CustomBarStyles ( )

Gets a list of custom task-specific bar styles of the Gantt Chart view. GanttBarStyle.

◆ get_Gridlines()

const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Tasks::Visualization::Gridlines> > >& Aspose::Tasks::GanttChartView::get_Gridlines ( ) const

Gets a list of Gridlines of the Gantt Chart view.

◆ get_HideRollupBarsWhenSummaryExpanded()

bool Aspose::Tasks::GanttChartView::get_HideRollupBarsWhenSummaryExpanded ( ) const

Gets a value indicating whether rollup bars will be hidden when expanding summary task.

◆ get_MiddleTimescaleTier()

System::SharedPtr<Visualization::TimescaleTier> Aspose::Tasks::GanttChartView::get_MiddleTimescaleTier ( )
override

Gets settings of view's middle timescale tier. TimescaleTier.

◆ get_NonWorkingTimeColor()

System::Drawing::Color Aspose::Tasks::GanttChartView::get_NonWorkingTimeColor ( ) const

Gets non-working time color.

◆ get_ProgressLines()

const System::SharedPtr<Aspose::Tasks::Visualization::ProgressLines>& Aspose::Tasks::GanttChartView::get_ProgressLines ( ) const

Gets progress lines for the Gantt Chart view. ProgressLines.

◆ get_RollUpGanttBars()

bool Aspose::Tasks::GanttChartView::get_RollUpGanttBars ( ) const

Gets a value indicating whether bars on the Gantt Chart must be rolled up.

◆ get_ShowBarSplits()

bool Aspose::Tasks::GanttChartView::get_ShowBarSplits ( ) const

Gets a value indicating whether task splits on the Gantt Chart must be shown.

◆ get_ShowDrawings()

bool Aspose::Tasks::GanttChartView::get_ShowDrawings ( ) const

Gets a value indicating whether drawings on the Gantt Chart must be shown.

◆ get_TableTextStyles()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::TableTextStyle> > > Aspose::Tasks::GanttChartView::get_TableTextStyles ( )

Gets a list of table text styles of the Gantt Chart view. TableTextStyle.

◆ get_TextStyles()

const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Visualization::TextStyle> > >& Aspose::Tasks::GanttChartView::get_TextStyles ( ) const

Gets a list of TextStyle of the Gantt Chart view.

◆ get_TopTimescaleTier()

System::SharedPtr<Visualization::TimescaleTier> Aspose::Tasks::GanttChartView::get_TopTimescaleTier ( )
override

Gets settings of view's top timescale tier. TimescaleTier.

◆ set_BarRounding()

void Aspose::Tasks::GanttChartView::set_BarRounding ( bool  value)

Sets a value indicating whether the bars round to the nearest day. The default value is True.

◆ set_BarSize()

void Aspose::Tasks::GanttChartView::set_BarSize ( GanttBarSize  value)

Sets the height, in points, of the Gantt bars in the Gantt Chart.

◆ set_BottomTimescaleTier()

void Aspose::Tasks::GanttChartView::set_BottomTimescaleTier ( System::SharedPtr< Visualization::TimescaleTier value)
override

Sets settings of view's bottom timescale tier. TimescaleTier

◆ set_Gridlines()

void Aspose::Tasks::GanttChartView::set_Gridlines ( const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::Visualization::Gridlines >>> &  value)

Sets a list of Gridlines of the Gantt Chart view.

◆ set_HideRollupBarsWhenSummaryExpanded()

void Aspose::Tasks::GanttChartView::set_HideRollupBarsWhenSummaryExpanded ( bool  value)

Sets a value indicating whether rollup bars will be hidden when expanding summary task.

◆ set_MiddleTimescaleTier()

void Aspose::Tasks::GanttChartView::set_MiddleTimescaleTier ( System::SharedPtr< Visualization::TimescaleTier value)
override

Sets settings of view's middle timescale tier. TimescaleTier.

◆ set_NonWorkingTimeColor()

void Aspose::Tasks::GanttChartView::set_NonWorkingTimeColor ( System::Drawing::Color  value)

Sets non-working time color.

◆ set_ProgressLines()

void Aspose::Tasks::GanttChartView::set_ProgressLines ( const System::SharedPtr< Aspose::Tasks::Visualization::ProgressLines > &  value)

Sets progress lines for the Gantt Chart view. ProgressLines.

◆ set_RollUpGanttBars()

void Aspose::Tasks::GanttChartView::set_RollUpGanttBars ( bool  value)

Sets a value indicating whether bars on the Gantt Chart must be rolled up.

◆ set_ShowBarSplits()

void Aspose::Tasks::GanttChartView::set_ShowBarSplits ( bool  value)

Sets a value indicating whether task splits on the Gantt Chart must be shown.

◆ set_ShowDrawings()

void Aspose::Tasks::GanttChartView::set_ShowDrawings ( bool  value)

Sets a value indicating whether drawings on the Gantt Chart must be shown.

◆ set_TextStyles()

void Aspose::Tasks::GanttChartView::set_TextStyles ( const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Visualization::TextStyle >>> &  value)

Sets a list of TextStyle of the Gantt Chart view.

◆ set_TopTimescaleTier()

void Aspose::Tasks::GanttChartView::set_TopTimescaleTier ( System::SharedPtr< Visualization::TimescaleTier value)
override

Sets settings of view's top timescale tier. TimescaleTier.