ExportCellImages: Boolean;
The ExportCellImages property determines whether the images contained in the table cells are exported.
The default property value is True.
If the property is set to True, images contained in the table cells are exported during the export (for example, conditional formatting images). If the property is set to False, the images are not exported.
Executing the example requires that the repository contains a regular report with the Report_1 identifier.
Sub UserProc;
Var
MB: IMetabase;
Exp: IPrxReportExporter;
Begin
MB := MetabaseClass.Active;
Exp := New PrxReportExporter.Create;
Exp.Report := MB.ItemById("Report_1").Bind As IPrxReport;
Exp.ExportCellImages := False;
Exp.ExportToFile("C:\Report.pdf", "PDF");
End Sub UserProc;
After executing the example the regular report is exported to the file C:\Report.pdf. If report cells contain any images, they are not exported.
See also: