[英]Can i control height of detail section of Subreport in crystal reports
Dim mainRp As New MainReport
Dim subRp As New SubReportTest
subRp.Section3.Height = 500
CrystalReportViewer1.ReportSource = mainRp
上面的代码不起作用,也没有显示任何错误
但是没有这样的事情
mainRp.Subreports("SubReportTest.rpt").Section3.Height = 500
mainRp.Subreports("SubReportTest.rpt").????? 'for set the height of subreport
看一下ReportDocument类定义,我会说是的: http : //msdn.microsoft.com/zh-cn/library/aa664718( v=vs.71) .aspx
虽然,我以前没有测试过,请注意单位是缇而不是像素:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.