how to manage page size and margin in crystal report?

前端 未结 2 1450
一个人的身影
一个人的身影 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:38

    And to change them programmatically:

            yourReportObject.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4;
            yourReportObject.PrintOptions.ApplyPageMargins(new CrystalDecisions.Shared.PageMargins(0, 0, 0, 0));
    

提交回复
热议问题