PdfRpt.Core.Helper.HeaderFooterManager.InitFooter C# (CSharp) Méthode

InitFooter() public méthode

Fires when the document is opened
public InitFooter ( PdfWriter writer, IList columnCellsSummaryData ) : void
writer iTextSharp.text.pdf.PdfWriter PdfWriter
columnCellsSummaryData IList Rows summaries data
Résultat void
        public void InitFooter(PdfWriter writer, IList<SummaryCellData> columnCellsSummaryData)
        {
            if (PdfRptFooter == null) return;
            PdfRptFooter.DocumentOpened(writer, columnCellsSummaryData);
        }

Usage Example

Exemple #1
0
 private void initHeaderFooterManager(PdfWriter writer)
 {
     _headerFooterManager = new HeaderFooterManager
     {
         ColumnSummaryCellsData = ColumnSummaryCellsData,
         CurrentRowInfoData = CurrentRowInfoData,
         PdfRptFooter = PdfRptFooter,
         PdfRptHeader = PdfRptHeader,
         CacheHeader = PageSetup.PagePreferences.CacheHeader
     };
     _headerFooterManager.InitFooter(writer, ColumnSummaryCellsData);
 }