Table of Contents

TTMSFNCTimelineSections.AddSection Method

Adds a section between the specified timeline values.

API unit family: TMSFNCTimeline Declaring type: TTMSFNCTimelineSections

Overloads

Overload 1

Adds a section between the specified timeline values.

function AddSection(AStartTimelineValue: Double; AEndTimelineValue: Double; AText: string = ''): TTMSFNCTimelineSection; overload;

Parameters

Name Description
AStartTimelineValue Specifies AStartTimelineValue.
AEndTimelineValue Specifies AEndTimelineValue.
AText Specifies AText.

Returns

The created or matching section, or nil when no section matches.

Overload 2

Adds a section between the specified timeline dates.

function AddSection(AStartTimelineDate: TDateTime; AEndTimelineDate: TDateTime; AText: string = ''): TTMSFNCTimelineSection; overload;

Parameters

Name Description
AStartTimelineDate Specifies AStartTimelineDate.
AEndTimelineDate Specifies AEndTimelineDate.
AText Specifies AText.

Returns

The created or matching section, or nil when no section matches.