ICalendarDimensionClass.DownLevel

Fore Syntax

DownLevel(Calendar: IDimInstance; El: Integer): Integer;

Fore.NET Syntax

DownLevel(Calendar: Prognoz.Platform.Interop.Dimensions.IDimInstance; El: uinteger): uinteger;

Parameters

Calendar. Data of the calendar dictionary, by which calculation is executed.

El. Index of the element, relative to which calculation is executed.

Description

The DownLevel method returns an index of the element, which is a parent for the specified element.

Comments

If the parent element is missing, the method returns -1.

For example, if the calendar dictionary contains Years, Half-years, Quarters levels and the calculation is executed for:

Fore and Fore.NET Examples

The property use is given in the example for ICalendarDimensionClass.IifLevel.

See also:

ICalendarDimensionClass