IEaxHeaders.Header

Syntax

Header: IEaxHeader;

Description

The Header property returns parameters of header.

Comments

To get parameters of footer, use the IEaxHeaders.Footer property.

Example

Executing the example requires that the repository contains express report with the EXPRESS identifier.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    Express : IEaxAnalyzer;
    Headers: IEaxHeaders;
    Param: IEaxHeader;
Begin
    Metabase := MetabaseClass.Active;
    Express := Metabase.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    Headers := Express.HeadersFooters;
    // Set up header and footer indent
    Param := Headers.Header;
    Param.Margin := 10;
    Param := Headers.Footer;
    Param.Margin := 10;
    Debug.Writeline("Header indent: " + 
        Headers.Header.Margin.ToString);
    Debug.Writeline("Footer indent: " + 
        Headers.Footer.Margin.ToString);
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, footer and header indent parameters will be determined. The console displays information about header and footer indents.

See also:

IEaxHeaders