GanttChartView

GanttChartView class

Represents a GanttChart view.

The GanttChartView type exposes the following members:

Constructors

NameDescription
GanttChartView()Initializes a new instance of the

Properties

NameDescription
filterGets or sets a filter used in a single view.
groupGets or sets a group of the single view.
uidGets the unique identifier of a view.
highlight_filterGets or sets a value indicating whether Microsoft Project highlights the filter for a single view.
nameGets or sets the name of a View object.
screenGets the screen type for the single view.
Read-only
parent_projectGets the parent of the View object.
Read-only
tableGets or sets a table of the single view.
typeGets the type of item in the single view, such as tasks or resources.
Read-only
show_in_menuGets or 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.
page_infoGets an instance of the
visual_objects_placementsGets a collection of objects representing placement and appearance of
bar_sizeGets or sets the height, in points, of the Gantt bars in the Gantt Chart.
gridlinesGets or sets a list of
text_stylesGets or sets a list of
show_drawingsGets or sets a value indicating whether drawings on the Gantt Chart must be shown.
show_bar_splitsGets or sets a value indicating whether task splits on the Gantt Chart must be shown.
roll_up_gantt_barsGets or sets a value indicating whether bars on the Gantt Chart must be rolled up.
bar_roundingGets or sets a value indicating whether the bars round to the nearest day.
The default value is True.
bottom_timescale_tierGets or sets settings of view’s bottom timescale tier.
middle_timescale_tierGets or sets settings of view’s middle timescale tier.
top_timescale_tierGets or sets settings of view’s top timescale tier.
timescale_size_percentage
hide_rollup_bars_when_summary_expandedGets or sets a value indicating whether rollup bars will be hidden when expanding summary task.
progress_linesGets or sets progress lines for the Gantt Chart view.
auto_filtersGets a list of auto filters of a Gantt Chart view.
table_text_stylesGets a list of table text styles of the Gantt Chart view.
bar_stylesGets a list of parent (common) bar styles of the Gantt Chart view.
custom_bar_stylesGets a list of custom task-specific bar styles of the Gantt Chart view.
non_working_time_colorGets or sets non-working time color.

Methods

NameDescription
compare_to(other)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.

See Also