WindowsPosition: EaxWindowsPosition;
WindowsPosition: Prognoz.Platform.Interop.Express.EaxWindowsPosition;
The WindowsPosition property determines the order of object windows of express report in the report field.
By default the property is set to EaxWindowsPosition.Maximized.
Executing this 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;
The window display format in the express report field changes after the example execution. The table and chart are displayed at opening and their windows are arranged horizontally in row.
Executing this 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 field is changed. The table and chart are displayed at opening and their windows are arranged horizontally in row.
See also: