コード例 #1
0
        private void AddNewPage(int pageNumber)
        {
            PageNumberFooter pageNumberFooter = new PageNumberFooter(pageNumber);

            m_CurrentReportPage = new ReportPage(m_ReportNextPageHeader, pageNumberFooter);
            m_FixedDocument.Pages.Add(m_CurrentReportPage.PageContent);
        }
コード例 #2
0
        public MultiPageDocument(HeaderFooterBase reportFirstPageHeader, HeaderFooterBase reportNextPageHeader = null)
        {
            this.m_ReportFirstPageHeader = reportFirstPageHeader;
            this.m_ReportNextPageHeader = (reportNextPageHeader ?? m_ReportFirstPageHeader);
            this.m_FixedDocument = new FixedDocument();

            this.m_FixedDocument.DocumentPaginator.PageSize = new Size(ReportPage.DisplayResolution * ReportPage.PageWidth, ReportPage.DisplayResolution * ReportPage.PageHeight);
            PageNumberFooter pageNumberFooter = new PageNumberFooter(1);
            this.m_CurrentReportPage = new ReportPage(m_ReportFirstPageHeader, pageNumberFooter);
            this.m_FixedDocument.Pages.Add(m_CurrentReportPage.PageContent);

            this.m_CurrentReportPage.UpdatePageLayout();
        }
コード例 #3
0
        public MultiPageDocument(HeaderFooterBase reportFirstPageHeader, HeaderFooterBase reportNextPageHeader = null)
        {
            this.m_ReportFirstPageHeader = reportFirstPageHeader;
            this.m_ReportNextPageHeader  = (reportNextPageHeader ?? m_ReportFirstPageHeader);
            this.m_FixedDocument         = new FixedDocument();

            this.m_FixedDocument.DocumentPaginator.PageSize = new Size(ReportPage.DisplayResolution * ReportPage.PageWidth, ReportPage.DisplayResolution * ReportPage.PageHeight);
            PageNumberFooter pageNumberFooter = new PageNumberFooter(1);

            this.m_CurrentReportPage = new ReportPage(m_ReportFirstPageHeader, pageNumberFooter);
            this.m_FixedDocument.Pages.Add(m_CurrentReportPage.PageContent);

            this.m_CurrentReportPage.UpdatePageLayout();
        }
コード例 #4
0
 private void AddNewPage(int pageNumber)
 {
     PageNumberFooter pageNumberFooter = new PageNumberFooter(pageNumber);
     m_CurrentReportPage = new ReportPage(m_ReportNextPageHeader, pageNumberFooter);
     m_FixedDocument.Pages.Add(m_CurrentReportPage.PageContent);
 }