IPivotHeader.Numbering

Fore Syntax

Numbering: IPivotHeaderNumbering;

Fore.NET Syntax

Numbering: Prognoz.Platform.Interop.Pivot.IPivotHeaderNumbering;

Description

The Numbering property returns numbering control parameters in headers.

Example

Executing the example requires a form with the Button1 button, the UiErAnalyzer component named UiErAnalyzer1 and any visualizers, for which UiErAnalyzer1 is set as a data source. An express object is connected to UiErAnalyzer1.

Add links to the Express, Pivot system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Analyzer: IEaxAnalyzer;
    Pivot: IPivot;
    Header: IPivotHeader;
    Numbering: IPivotHeaderNumbering;
Begin
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    Pivot := Analyzer.Pivot;
    Header := Pivot.LeftHeader;
    
//Row numbering parameters
    Numbering := Header.Numbering;
    Numbering.ConsiderHeader := 
True;
    Numbering.PlaceAtEnd := 
True;
    Numbering.IsOn := 
True;
End Sub Button1OnClick;

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Pivot;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Analyzer: EaxAnalyzer;
    Pivot: IPivot;
    Header: IPivotHeader;
    Numbering: IPivotHeaderNumbering;
Begin
    Analyzer := UiErAnalyzerNet1.AnalyzerUi.ErAnalyzer;
    Pivot := Analyzer.Pivot;
    Header := Pivot.LeftHeader;
    
//Row numbering parameters
    Numbering := Header.Numbering;
    Numbering.ConsiderHeader := 
True;
    Numbering.PlaceAtEnd := 
True;
    Numbering.IsOn := 
True;
End Sub;

Clicking the button enables continuous numbering for rows. Numbering takes into account the number of header rows, numbers will be placed at the end of each row header.

See also:

IPivotHeader