IEaxGrid.HeaderSize

Syntax

HeaderSize: IGxSize;

Description

The HeaderSize property returns size of table headers.

Comments

Header size is determined by the number of rows in the header and the number of columns in the sidehead. To determine the number of rows in the header, use the IGxSize.Height property, to determine the number of columns in the table sidehead, use the IGxSize.Width.

The size of headers includes the size of additional headers, which are created on enabling different additional options in the table.

Example

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

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

Sub UserProc;
Var
    MB: IMetabase;
    Expr: IEaxAnalyzer;
    Grid: IEaxGrid;
    HSize: IGxSize;
    i, j: Integer;
Begin
    MB := MetabaseClass.Active;
    Expr := MB.ItemById(
"EAX").Bind As IEaxAnalyzer;
    Grid := Expr.Grid;
    HSize := Grid.HeaderSize;
    i := HSize.Height;
    j := HSize.Width;
End Sub UserProc;

After executing the example the "i" variable contains the number of rows in the header, and the "j" variable contains the number of columns in the sidehead of express report table.

See also:

IEaxGrid