C# Class PdfReportSamples.QuestionsForm.EntryTemplate

Inheritance: IColumnItemsTemplate
Datei anzeigen Open project: VahidN/PdfReport

Public Methods

Method Description
CellRendered ( PdfPCell cell, Rectangle position, PdfContentByte canvases, PdfRpt.Core.Contracts.CellAttributes attributes ) : void

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

EntryTemplate ( PdfRunDirection pdfRunDirection ) : System
RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : PdfPCell

Private Methods

Method Description
addImageCell ( string picturePath, PdfGrid mainTable ) : void
addOptions ( string answer1, string answer2, string answer3, string answer4, IPdfFont font, PdfGrid mainTable ) : void
addQuestionText ( string id, string questionText, IPdfFont font, PdfGrid mainTable ) : void
getRelativeWidths ( ) : float[]

Method Details

CellRendered() public method

This method is called at the end of the cell's rendering.
public CellRendered ( PdfPCell cell, Rectangle position, PdfContentByte canvases, PdfRpt.Core.Contracts.CellAttributes attributes ) : void
cell iTextSharp.text.pdf.PdfPCell The current cell
position iTextSharp.text.Rectangle The coordinates of the cell
canvases iTextSharp.text.pdf.PdfContentByte
attributes PdfRpt.Core.Contracts.CellAttributes Current cell's custom attributes
return void

EntryTemplate() public method

public EntryTemplate ( PdfRunDirection pdfRunDirection ) : System
pdfRunDirection PdfRunDirection
return System

RenderingCell() public method

public RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : PdfPCell
attributes PdfRpt.Core.Contracts.CellAttributes
return iTextSharp.text.pdf.PdfPCell