AutoHeight: Boolean;
The AutoHeight property determines whether row height is to be automatically adjusted when the report is exported to HTML (*.html).
If the property is set to True, the row height is automatically adjusted when the report is exported to HTML.
Sub Main;
Var
MB: IMetabase;
Expr: IEaxAnalyzer;
ExpExspr: IExAnalyzerExporter;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
ExpExspr := New ExAnalyzerExporter.Create;
ExpExspr.ExAnalyzer := Expr;
ExpExspr.AutoHeight := True;
ExpExspr.ExportToFile("c:\" + Expr.Name + ".HTML", "HTML");
End Sub Main;
After executing this example the express report is exported to HTML format. Row height is automatically adjusted during the export. Express report identifier - EXPRESS_REPORT.
See also: