private Rdl.PageHeaderFooterType CreateFooter() { Rdl.PageHeaderFooterType footer = new Rdl.PageHeaderFooterType(); HeaderFooterRdlGenerator footerGen = new HeaderFooterRdlGenerator(); footerGen.Fields = _rpc.Footer; footer.Items = new object[] { (_rpc.FootHeight / 96.0) + "in", true, true, footerGen.CreateItems(), }; footer.ItemsElementName = new Rdl.ItemsChoiceType34[] { Rdl.ItemsChoiceType34.Height, Rdl.ItemsChoiceType34.PrintOnFirstPage, Rdl.ItemsChoiceType34.PrintOnLastPage, Rdl.ItemsChoiceType34.ReportItems }; return(footer); }
private Rdl.PageHeaderFooterType CreateFooter() { Rdl.PageHeaderFooterType footer = new Rdl.PageHeaderFooterType(); HeaderFooterRdlGenerator footerGen = new HeaderFooterRdlGenerator(); footerGen.Fields = _rpc.Footer; footer.Items = new object[] { (_rpc.FootHeight / 96.0) + "in", true, true, footerGen.CreateItems(), }; footer.ItemsElementName = new Rdl.ItemsChoiceType34[] { Rdl.ItemsChoiceType34.Height, Rdl.ItemsChoiceType34.PrintOnFirstPage, Rdl.ItemsChoiceType34.PrintOnLastPage, Rdl.ItemsChoiceType34.ReportItems }; return footer; }