FixHeadersOnPrint: Boolean;
FixHeadersOnPrint: boolean;
The FixHeadersOnPrint property determines whether headers of express report table are fixed on printing this report.
Available Values:
True. Headers of express report table are fixed on printing the report.
False. Headers of express report table are not fixed on printing the report.
Executing the example requires an express report with the EXPRESS_REPORT identifier.
Add links to the Metabase and Express system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("EXPRESS_REPORT").Edit;
Expr := MObj As IEaxAnalyzer;
Grid := Expr.Grid;
Grid.FixHeadersOnPrint := False;
MObj.Save;
End Sub UserProc;
After executing this example the table headers are not fixed when the express report is printed. Express report identifier - EXPRESS_REPORT.
The requirements and result of Fore.NET Example execution are the same as in the Fore Example.
Imports Prognoz.Platform.Interop.Express;
…
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Grid: IEaxGrid;
Begin
MB := Params.Metabase;
MObj := MB.ItemById["EXPRESS_REPORT"].Edit();
Expr := MObj As IEaxAnalyzer;
Grid := Expr.Grid;
Grid.FixHeadersOnPrint := False;
MObj.Save();
End Sub;
See also: