ExportCellImages: Boolean;
The ExportCellImages property determines whether the images contained in the table cells are to be exported.
Default value of this property is True.
If the property is set to True, images contained in the table cells are to be exported during the export (for example, images of conditional formatting). If the property is set to False, the images are not exported.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT.
Sub UserProc;
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.ExportCellImages := False;
ExpExspr.ExportToFile("C:\Express.pdf", "PDF");
End Sub UserProc;
After executing this example the express report is exported to the file C:\Express.pdf. If the cells of the express report table contain any images, these images are not exported.
See also: