|
|
|
|
|
GanttAddHoliday (Function) In french: GanttAjouteCongé Defines a new holiday period on a row in a Gantt Chart column in a Table or TreeView Table control.
GanttAddHoliday(COL_Gantt, 4, "20220204", "20220204")
Syntax
GanttAddHoliday(<Gantt column> , <Line> , <Start date> , <End date>)
<Gantt column>: Control name Name of the Gantt Chart column (in a Table or TreeView Table control) to be used. <Line>: entier Number of the row where the holidays will be declared. Note: The line associated with a task can be identified by the Property Line property of variable type GanttTask. <Start date>: Character string or Date or DateTime variable Start date of holiday period. This date is considered as being included in the holidays. <End date>: Character string or Date or DateTime variable End date of holiday period. This date is considered as being included in the holidays. Remarks - The new holiday period is considered as being a non-working period for the row.
- The duration of the tasks is adjusted according to the specified holiday period.
- The non-working days are Saturday and Sunday by default.
- The bank holidays defined by BankHolidayAdd are considered as being non-working days.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|