void InitializeRootReportModel() { rootReportModel = host.Container.Components[0] as RootReportModel; rootReportModel.PageMargin = CalculateMargins(); rootReportModel.Page = new Rectangle(new Point(0, 0), reportSettings.PageSize); rootReportModel.Landscape = this.reportSettings.Landscape; rootReportModel.Invalidate(); }
void InitializeRootReportModel () { rootReportModel = host.Container.Components[0] as RootReportModel; rootReportModel.PageMargin = CalculateMargins(); rootReportModel.Page = new Rectangle(new Point(0,0), reportSettings.PageSize); rootReportModel.Landscape = this.reportSettings.Landscape; rootReportModel.Invalidate(); }