Show contents 

Express > Express Assembly Interfaces > IEaxAnalyzeCore > IEaxAnalyzeCore.Resources

IEaxAnalyzeCore.Resources

Syntax

Resources: IResourceObject;

Description

The Resources property determines the Resource object that is used to store translations of the express report title.

Comments

The property is relevant if the express report title is multilingual, that is, if IEaxAnalyzer.SupportMultiLanguage = True.

Example

Executing the example requires that the repository contains an express report with the OBJ_EAX identifier and the Resources object with the EAX_RES identifier.

Add links to the Express, IO, and Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    resource: IResourceObject;
    repObj: IMetabaseObject;
    report: IEaxAnalyzer;
Begin
    mb := MetabaseClass.Active;
    resource := mb.ItemById("EAX_RES").Bind As IResourceObject;
    repObj := mb.ItemById("OBJ_EAX").Edit;
    report := repObj As IEaxAnalyzer;
    report.Resources := resource;
    report.SupportMultiLanguage := True;
    repObj.Save;
End Sub UserProc;

Example execution result: title of the OBJ_EAX express report is converted to multilingual, the Resource object with the EAX_RES identifier is used to store translations.

See also:

IEaxAnalyzeCore