ExcelPrintGridlines

Enables or disables gridlines when converting Excel files to TIFF.

Member of namespace

Convert

Syntax

bool ExcelPrintGridlines (bool gridlines)

Parameters

gridlines
Type: bool

Parameters

gridlines : A Boolean value that determines if gridlines are displayed in Excel files converted to TIFF.

True: Gridlines are included in the converted image.

False: Gridlines are not shown in the converted image.

Returns

Always True.

Level

Page level.

Details

The TIFF files created from ExcelWorkbookToImage will all use the specified grid setting when converted to TIFF. This action must be called before ExcelWorkbookToImage. If this action is not called, the grid line setting that was saved in the original Excel file is used.
Example:
ExcelPrintGridlines("False")
ExcelWorkbookToImage()