Crystal Reports prints portrait orientation instead of landscape

前端 未结 1 1921
被撕碎了的回忆
被撕碎了的回忆 2021-01-19 12:59

I created a very simple test report (.rpt file) in SAP Crystal Reports 14.1.4.1327. I set page orientation to landscape in Page Setup. If I print my document from Crystal Re

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-19 13:11

    This works for me:

                cryRpt.PrintOptions.PaperSource = PaperSource.Auto;
                cryRpt.PrintOptions.PaperSize = PaperSize.DefaultPaperSize;
                cryRpt.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    

    0 讨论(0)
提交回复
热议问题