ExportObjectAsBitmap: Boolean;
The ExportObjectAsBitmap property determines whether objects are to be exported as bitmaps to PDF (*.pdf) and XLS (*.xls) files.
If the property is set to True, the objects of the report are exported as bitmaps, if the property is set to False, they are exported in vector format.
The property is set to True by default.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.
Sub UserProc;
Var
MB: IMetabase;
Express: IEaxAnalyzer;
EaxExporter: IExAnalyzerExporter;
Begin
MB := MetabaseClass.Active;
Express := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
EaxExporter := New ExAnalyzerExporter.Create;
EaxExporter.ExAnalyzer := Express;
EaxExporter.ExportFootnotes := True;
EaxExporter.ExportChartAsImage := False;
EaxExporter.ExportToFile("C:\Report.PDF", "PDF");
End Sub UserProc;
After executing the example the express report is exported into the specified PDF file. Report objects are exported in vector format, footnotes are also exported.
See also: