IconIndex: Integer;
The IconIndex property determines the index of an icon to be exported.
This example requires a Report object of the IPrxReport type on whose sheet icons are located, for example:
Sub UserProc;
Var
Report: IPrxReport;
Exp: ITabIconExporter;
Begin
Exp := New TabIconExporter.Create;
Exp.TabSheet := (Report.Sheets.Item(0) As IPrxTable).TabSheet;
Exp.IconIndex := 0;
Exp.ExportToFile("C:\Icon1.bmp","bmp");
End Sub UserProc;
After executing this example the first sheet icon is exported to a file with the specified format.
See also: