WindowsPosition: EaxWindowsPosition;
WindowsPosition: Prognoz.Platform.Interop.Express.EaxWindowsPosition;
The WindowsPosition property determines the order of object windows of express report in the report area.
The property is set to EaxWindowsPosition.Maximized by default.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.
Sub UserProc;
Var
MB: IMetabase;
Eax: IEaxAnalyzer;
Begin
MB := MetabaseClass.Active;
Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
Eax.Grid.Visible := True;
Eax.Chart.Visible := True;
Eax.WindowsPosition := EaxWindowsPosition.Horizontal;
(Eax As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the window display format in the express report area is changed. The table and chart are displayed at opening and their windows are arranged horizontally in row.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier. The example is an entry point for a .NET assembly.
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Metabase;
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
Eax: IEaxAnalyzer;
Begin
MB := Params.Metabase;
Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
Eax.Grid.Visible := True;
Eax.Chart.Visible := True;
Eax.WindowsPosition := EaxWindowsPosition.ewpHorizontal;
(Eax As IMetabaseObject).Save();
End Sub;
After executing the example the window display format in the express report area is changed. The table and chart are displayed at opening and their windows are arranged horizontally in row.
See also: