ExportObjectAsBitmap: Boolean;
The ExportObjectAsBitmap property determines whether objects are to be exported as bitmaps to PDF (*.pdf) and XLS (*.xls) files.
Available values:
True. Default value. Report objects are exported as bitmaps.
False. Report objects are exported in vector format.
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: