We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Xlsx转换tiff能指定横向转换吗?

xlsx转换tiff能指定横向转换吗?

@yfqin
请设置页面打印的Orientation :
workbook.Worksheets[0].PageSetup.Orientation = PageOrientationType.Landscape;

请问能一次性设置全部sheet吗?还是要遍历全部sheet来设置?

@yfqin
如果你要设置所有的Worksheet, 请用以下代码:
workbook.Settings.SetPageOrientationType(PageOrientationType.Landscape);