ExcelOrientationToPortrait

Forces the orientation of Excel files to portrait for ExcelWorkbookToImage.

Member of namespace

Convert

Syntax

bool ExcelOrientationToPortrait ()

Parameters

None.

Returns

Always True.

Level

Page level.

Details

The TIFF files created from ExcelWorkbookToImage will all be created with a portrait 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:
ExcelOrientationToPortrait()
ExcelWorkbookToImage()