XtraReport report = new XtraReport();// 建立报表实例 report.Dpi = 254F; report.DataSource = dt;//设置报表数据源 report.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter; //report.PageHeight = 1169; //report