IExporter.Encoding

Syntax

Encoding: CodePage;

Description

The Encoding property sets code page of the transformation table, which determines the data export mode. The property is available only for the export to the HTML format.

Example

The following example requires the Report object of the IPrxReport type.

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.Encoding := Codepage.ANSI_Arabic;

Exp.ExportToFile("c:\Report1.html", HTML);

End Sub UserProc;

Executing the example a regular report sheet is exported into an HTML file. The encoding used for the HTML page is Arabic (Windows).

See also:

IExporter