ExportFootnotes: Boolean;
The ExportFootnotes property determines whether table footnotes are exported.
Available values:
True. Export footnotes.
False. Do not export footnotes.
Executing the example requires a form with the Button1 button, the UiTabSheet component named UiTabSheet1 and any visualizers, for which UiTabSheet1 is set as a data source. Footnotes are created in the component table.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Tabsheet: ITabSheet;
Footnotes: ITabFootnotes;
Exporter: ITabSheetExporter;
Begin
Exporter := New TabSheetExporter.Create;
TabSheet := UiTabSheet1.TabSheet;
TabSheet.PageSettings := New TabPageSettings.Create;
Footnotes := TabSheet.Footnotes;
//All footnotes are at the end of obtained document
Footnotes.Location := TabFootnotesLocation.EndOfSheet;
Exporter.TabSheet := TabSheet;
Exporter.ExportFootnotes := True;
Exporter.ExportToFile("C:\Tabsheet.pdf", "PDF");
End Sub Button1OnClick;
On clicking the button, the table will be exported to the specified file. Text of all footnotes will be placed at the last page of the file.
See also: