TimePoint: Integer;
The TimePoint property determines the current time point of the timeline.
A timeline is used to show data changes in time:
Executing the example requires an express report with the EXPRESS_MAP identifier, in which map displaying is set up. The map should have a map layer with the Regions identifier.
Add links to the Metabase, Express, and Map system assemblies.
Sub main;
Var
mb: IMetabase;
Express: IEaxAnalyzer;
Map: IMap;
TimePoint: Integer;
Begin
mb := MetabaseClass.Active;
Express := mb.ItemById("EXPRESS_MAP").Bind As IEaxAnalyzer;
Map := Express.Map.Map;
TimePoint := Map.TimePoint;
Debug.WriteLine("Time Point: " + TimePoint.ToString);
End Sub main;
After executing the example the console window displays the number of the current time point of the timeline. The numbering starts with zero.
For example, if a time point is set in express report:
the console window shows:
Time Point: 2
See also: