ExportObjectAsBitmap: Boolean;
The ExportObjectAsBitmap property determines whether objects in raster format should be exported during exporting to PDF (*.pdf) and XLS (*.xls) formats.
If the property is set to True, report objects are exported in raster format, if the property is set to False, report objects are exported in vector format.
The default property value is True.
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.ExportObjectAsBitmap := False;
Exp.ExportToFile("C:\temp\Rep_metafile.pdf","PDF");
End Sub UserProc;
After executing the example the regular report is exported to the specified file, the objects are exported in vector format.
See also: