如题,请问图中的灰色的属性如何通过vb.net代码设置,通过以下代码设置后,没有效果
rpt.Report.PaperOrientation = GrapeCity.ActiveReports.PageReportModel.PaperOrientation.Portrait
rpt.Report.TopMargin = New GrapeCity.ActiveReports.PageReportModel.Length(0.4, GrapeCity.ActiveReports.PageReportModel.Length.Unit.Centimeters)
rpt.Report.BottomMargin = New GrapeCity.ActiveReports.PageReportModel.Length(0.4, GrapeCity.ActiveReports.PageReportModel.Length.Unit.Centimeters)
rpt.Report.LeftMargin = New GrapeCity.ActiveReports.PageReportModel.Length(0.4, GrapeCity.ActiveReports.PageReportModel.Length.Unit.Centimeters)
rpt.Report.RightMargin = New GrapeCity.ActiveReports.PageReportModel.Length(0.4, GrapeCity.ActiveReports.PageReportModel.Length.Unit.Centimeters)
|