C# Class PdfRpt.Core.PdfTable.MainTableCellsEvent

This class allows accessing cell's canvas after finishing its rendering to add additional text or graphics. At this point we can add summary cells data.
Inheritance: IPdfPCellEvent
显示文件 Open project: VahidN/PdfReport

Public Methods

Method Description
CellLayout ( PdfPCell cell, Rectangle position, PdfContentByte canvases ) : void

This method is called at the end of the cell's rendering.

MainTableCellsEvent ( PdfRpt.Core.Contracts.CellAttributes pdfRptCell ) : System.Collections.Generic

Allows accessing cell's canvas after finishing its rendering to add additional text or graphics

Private Methods

Method Description
applyCustomCellLayout ( PdfPCell cell, Rectangle position, PdfContentByte canvases ) : void
applyGradientBackground ( Rectangle position, PdfContentByte canvases ) : void
getAggregateValuePosition ( Rectangle position ) : AggregateValuePosition
getRowSummaryData ( ) : object
getTableRowData ( ) : List
getTotalSummaries ( ) : object
printSummary ( Rectangle position, PdfContentByte canvases ) : void
setCellData ( object rowSummaryData, string formattedValue ) : void
setLastRenderedRowNumber ( ) : void
setMainTableEvents ( ) : void
setPagesInfo ( ) : void
thisPageSummary ( ) : object

Method Details

CellLayout() public method

This method is called at the end of the cell's rendering.
public CellLayout ( PdfPCell cell, Rectangle position, PdfContentByte canvases ) : void
cell iTextSharp.text.pdf.PdfPCell The current cell
position iTextSharp.text.Rectangle The coordinates of the cell
canvases iTextSharp.text.pdf.PdfContentByte An array of PdfContentByte to add text or graphics
return void

MainTableCellsEvent() public method

Allows accessing cell's canvas after finishing its rendering to add additional text or graphics
public MainTableCellsEvent ( PdfRpt.Core.Contracts.CellAttributes pdfRptCell ) : System.Collections.Generic
pdfRptCell PdfRpt.Core.Contracts.CellAttributes Related cell's attributes
return System.Collections.Generic