ExportCellImages: Boolean;
The ExportCellImages property determines whether the images contained in the table cells are to be exported.
By default the property is set to True.
If the property value is set to True, images contained in the table cells are to be exported during the export (for example, images of conditional formatting). If the property value is set to False the images are not exported.
Executing the example requires a form with the Button1 button located on it, the UiTabSheet component named UiTabSheet1, and the TabSheetBox component, for which UiTabSheet1 is used as a data source. The table of the TabSheetBox component contains some data and the table cells may contain images.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Tab: ITabSheet;
Exp: ITabSheetExporter;
Begin
Tab := UiTabSheet1.TabSheet;
Tab.PageSettings := New TabPageSettings.Create;
Exp := New TabSheetExporter.Create;
Exp.TabSheet := Tab;
Exp.ExportCellImages := False;
Exp.ExportToFile("c:\Data.pdf", "PDF");
End Sub Button1OnClick;
Click the button to export table content to the C:\Data.pdf file. If there are any images in the table cells they are not exported.
See also: