IPrxReportExporter.AutoHeight

Syntax

AutoHeight: Boolean;

Description

The AutoHeight property determines whether rows height must be autofit when exporting to HTML format(*.html). If the property is set to True, the rows height is autofit during the export depending on the cells' contents. If the property is set to False, the rows height is not changed.

The default property value is False.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub UserProc;
Var
    Report: IPrxReport;
    Exp: IPrxReportExporter;
Begin
    Exp := 
New PrxReportExporter.Create;
    Exp.Report := Report;
    Exp.AutoHeight := 
True;
    Exp.ExportToFile(
"C:\Report.html""html");
End Sub UserProc;

After executing the example the regular report is exported into the Report.html file. The rows height in the output file is autofit depending on the contents.

See also:

IPrxReportExporter