Skip to main content

TdxGanttControlCustomBaselines.Add(Integer) Method

Returns a baseline.

Declaration

function Add(const ANumber: Integer): TdxGanttControlCustomBaseline;

Parameters

Name Type Description
ANumber Integer

A baseline’s number. The Add function can return a new baseline with the specified number or an existing baseline if its number matches the ANumber value.

Returns

Type Description
TdxGanttControlCustomBaseline

A baseline.

Remarks

Call this function and pass a baseline’s number as the ANumber parameter to create the baseline with this number.

This procedure is reintroduced in the following collections to allow you to create baselines for specific elements:

Element

Baseline Collection Class

Task

TdxGanttControlTaskBaselines

Resource

TdxGanttControlResourceBaselines

Assignment

TdxGanttControlAssignmentBaselines

Data Model

TdxGanttControlDataModelBaselines

Note

The collection sorts baselines by number in ascending order.

Delete a Baseline

You can call the following procedures to delete baselines:

Delete
Deletes the baseline with the specified number.
Remove
Deletes the specified baseline.
See Also