Skip to main content
Table of Contents

TTMSFNCGanttDuration.SetDuration Method

Sets the duration unit and value in one operation.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttDuration

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
procedure SetDuration(AType: TTMSFNCGanttDurationType; AValue: Double);
void __fastcall SetDuration(TTMSFNCGanttDurationType AType, double AValue);

Parameters

Name Description
AType Unit used by the duration.
AValue Numeric duration value in the specified unit.