How to make Crystal Reports Page Width Larger During Design of .rpt

后端 未结 7 976
日久生厌
日久生厌 2020-12-30 08:45

I\'m looking for a method to resize the page width Crystal Reports gives me to place fields in my .rpt file.

So far I have discovered if I right click on the report,

7条回答
  •  旧时难觅i
    2020-12-30 09:12

    I realize that this is a very old topic and the question is about design mode but since this question keeps coming up in my Google searches, I expect that this may help someone. So, I just wanted to add that programmatically, this can be done without a dummy printer like this:

    var repDoc = new ReportDocument();
    repDoc.Load(rpt_path);
    
    ISCDReportClientDocument clientDoc = repDoc.ReportClientDocument;
    clientDoc.PrintOutputController.ModifyUserPaperSize(repDoc.PrintOptions.PageContentHeight, repDoc.PrintOptions.PageContentWidth * 2);
    

提交回复
热议问题