ExcelOrientationToLandscape

Forces the orientation of Excel files to landscape for ExcelWorkbookToImage.

Member of namespace

Convert

Syntax

bool ExcelOrientationToLandscape ()

Parameters

None.

Returns

Always True.

Level

Page level.

Details

The TIFF files created from ExcelWorkbookToImage will all be created with a landscape orientation. This action must be called before ExcelWorkbookToImage. If this action is not called, the portrait / landscape setting that was saved in the original Excel file is used.
Example:
ExcelOrientationToLandscape()
ExcelWorkbookToImage()