我的ActiveReport2.0 在Pagestart 中写入了 pagesetting.orientation=ddlandscap
但就是不能横向打印.

解决方案 »

  1.   

    在设计时可以指定 也可在在代码里设置
    在设计时可以点file--page setup 会弹出设置框 在那里设定就可以
    代码设置如下
    ActiveReport1.PageSettings.Orientation = ddOLandscape
    ActiveReport1.Show
      

  2.   

    也可以这样设置
    ActiveReport1.Printer.Orientation = ddOLandscape
    ActiveReport1.Show
      

  3.   

    PageSettings.PaperSize=255PageSettings.Orientation = ddOLandscape