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.
To execute the example a form, a button on the form named Button1, the UiTabSheet component named UiTabSheet1, and the TabSheetBox component which uses the UiTabSheet component 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: