ITabSheetExporter.ExportObjectAsBitmap

Syntax

ExportObjectAsBitmap: Boolean;

Description

The ExportObjectAsBitmap property determines whether objects in raster format should be exported during exporting to PDF (*.pdf) and XLS (*xls) formats.

Comments

If the value of the property is True, the objects of the report are exported in raster format, if the value is False, in vector format.

The default value of this property is True.

Example

This example assumes that an object Report of the type IPrxReport exists.

Sub UserProc;

Var

Report: IPrxReport;

Tab: ITabSheet;

exp: ITabSheetExporter;

Begin

Tab := (Report.Sheets.Item(0) As IPrxTable).TabSheet;

exp := New TabSheetExporter.Create;

exp.TabSheet := Tab;

exp.ExportObjectAsBitmap := False;

exp.ExportToFile("C:\Temp\Tab_metafile.pdf","PDF");

End Sub UserProc;

As a result the regular report sheet will be exported to the specified file, the sheet objects will be exported in vector format.

See also:

ITabSheetExporter