FootnotePanelOptions: ITabFootnotesPanelOptions;
FootnotePanelOptions: Prognoz.Platform.Interop.Tab.TabFootnotesPanelOptions;
The FootnotePanelOptions property returns parameters of footnotes panel layout.
Executing the example requires that the repository contains an express report with the REGULAR_REPORT identifier.
Sub UserProc;
Var
MB: IMetabase;
Report: IPrxReport;
FootnotePanel: ITabFootnotesPanelOptions;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("REGULAR_REPORT").Edit As IPrxReport;
FootnotePanel := Report.Options.FootnotePanelOptions;
FootnotePanel.Position := BarDockingEdge.Bottom;
FootnotePanel.PercentHeight := 15;
Report.MetabaseObject.Save;
End Sub UserProc;
On executing the example footnotes panel layout parameters will be changed: the panel will be located below the table and will take 15 percents of table available area.
The requirements and result of the Fore.NET example execution match with those in the Fore example.
Imports Prognoz.Platform.Interop.Forms;
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Report;
Imports Prognoz.Platform.Interop.Tab;
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
Report: IPrxReport;
FootnotePanel: ITabFootnotesPanelOptions;
Begin
MB := Params.Metabase;
Report := MB.ItemById["REGULAR_REPORT"].Edit() As IPrxReport;
FootnotePanel := Report.Options.FootnotePanelOptions;
FootnotePanel.Position := BarDockingEdge.bdeBottom;
FootnotePanel.PercentHeight := 15;
Report.MetabaseObject.Save();
End Sub;
See also: