lucky
在ActiveReports for .NET 7中,可以通过PageSetting属性设置页面信息,打印相关属性可以通过rpt.Document.Printer进行设置
- Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
- Dim rpt As New SectionReport1
- rpt.PageSettings.Orientation = GrapeCity.ActiveReports.Document.Section.PageOrientation.Landscape
- End Sub
复制代码 |