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();
 }
Exemplo n.º 2
0
		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();
		}