ILaner.ValueFootnoteAttributes

Syntax

ValueFootnoteAttributes: ILanerCellAttributes;

Description

The ValueFootnoteAttributes property returns collection of attributes used to create data area footnotes.

Example

Executing the example requires that the repository contains a workbook with the WORKBOOK identifier containing several series. The workbook must use the time series database that contains mandatory attribute of series with the INDICATOR identifier as a data source.

Sub UserProc;
Var
    MB: IMetabase;
    WbkObj: IMetabaseObject;
    Laner: ILaner;
    FootnoteAttributes: ILanerCellAttributes;
Begin
    // Get workbook
    MB := MetabaseClass.Active;
    WbkObj := MB.ItemById("WORKBOOK").Edit;
    Laner := (WbkObj As IEaxAnalyzer).Laner;
    // Get collection of footnote attributes for series headers
    FootnoteAttributes := Laner.ValueFootnoteAttributes;
    // Clear collection
    FootnoteAttributes.Clear;
    // Add the "COUNTRY" attribute into collection of prefix attributes
    FootnoteAttributes.Add("COUNTRY", LnAttributeType.Fact);
    // Save changes
    WbkObj.Save;
End Sub UserProc;

After executing the example footnotes are added for workbook data. Footnote text is created by values of the COUNTRY series attribute.

See also:

ILaner