您好,您说得用Spread导入这个Excel再导出之后 纸张方向丢失我这里是没问题的。
对于在spread中打印是没有 横向这个是由于spread打印是使用的papersize,忽略了orientation这个属性,您需要通过代码调整下spread papersize的宽高。
if(printInfo.orientation()===GcSpread.Sheets.PrintPageOrientation.Landscape)
{
printInfo.paperSize(paperSize.hight(),paperSize.width())
} |