how to manage page size and margin in crystal report?

前端 未结 2 1441
一个人的身影
一个人的身影 2020-12-11 18:55

I am new to crystal reports and using crystal report with .Net (WinForm / Visual Studio 2010).

I was thinking what would be the way to setup page size and top, botto

相关标签:
2条回答
  • 2020-12-11 19:24

    If you use Crystal Reports to design your report, Page size and Margins can be edited by Page Setup. Right Click on your report select Page Setup. You'll get a window as shown below.

    Page Setup in Crystal Report
    Here you can edit the page size and margins...

    If you use VS2010 to design your report, follow the below steps

    Printer Setup
    enter image description here

    For Margins Open Page Setup

    enter image description here

    Hope this helps !!

    0 讨论(0)
  • 2020-12-11 19:38

    And to change them programmatically:

            yourReportObject.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4;
            yourReportObject.PrintOptions.ApplyPageMargins(new CrystalDecisions.Shared.PageMargins(0, 0, 0, 0));
    
    0 讨论(0)
提交回复
热议问题