本帖最后由 travel_he 于 2017-2-15 16:26 编辑
预览时抬头末居中,打印输出到PDF时正常!!!
何解?
报表加载代码:
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
RptData = GetData()
Dim Rpt As New GrapeCity.ActiveReports.PageReport(New System.IO.FileInfo(Server.MapPath("~\RdlReport1.rdlx")))
AddHandler Rpt.Document.LocateDataSource, AddressOf Document_LocateDataSource '加载数据源
WebViewer1.Report = Rpt
End Sub
同样代码在FlashViewer模式下预览正常.
|