TdxGanttControlAssignmentBaselines.Add(Integer) Method
Creates a baseline with the specified number for an assignment.
Declaration
function Add(const ANumber: Integer): TdxGanttControlAssignmentBaseline; reintroduce;
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 |
---|---|
TdxGanttControlAssignmentBaseline | An assignment’s baseline. |
Remarks
Call this function and pass a baseline’s number as the ANumber parameter to create the baseline with this number.
Note
Different assignments can have baselines with the same number. One assignment cannot have multiple baselines with the same number.
Delete a Baseline
You can call the following procedures of the collection’s ancestor to delete baselines:
Note
The collection sorts baselines by number in ascending order.
See Also