IEaxAnalyzeCore.StyleSheet

Syntax

StyleSheet: IStyleSheet;

Description

The StyleSheet property determines an external styles table used by express report.

Comments

To work with the internal styles table, use the IEaxAnalyzeCore.InnerStyleSheet property.

Example

Executing the example requires that a repository contains an express report with the EXPRESS_STYLE identifier and a styles table with the STYLE_TB identifier.

Add links to the Drawing, Express, Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    Report: IEaxAnalyzer;
    Style: IStyleSheet;
Begin
    mb := MetabaseClass.Active;
    Report := mb.ItemById("EXPRESS_STYLE").Edit As IEaxAnalyzer;
    Style := mb.ItemById("STYLE_TB").Bind As IStyleSheet;
    Report.StyleSheet := Style;
    (Report As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the STYLE_TB external styles table is connected to the EXPRESS_STYLE report.

See also:

IEaxAnalyzeCore