C# Class PdfRpt.ColumnsItemsTemplates.HyperlinkField

Displaying current cell's data as a hyperlink
Inheritance: IColumnItemsTemplate
Show file 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.

HyperlinkField ( BaseColor foreColor, bool fontUnderline ) : System

ctor.

RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : PdfPCell

Custom cell's content template as a PdfPCell

Private Methods

Method Description
getAnchor ( FontSelector fontSelector, PdfRpt.Core.Contracts.CellAttributes attributes ) : Anchor
getText ( PdfRpt.Core.Contracts.CellAttributes attributes ) : string
getUrl ( PdfRpt.Core.Contracts.CellAttributes attributes ) : string
setFontStyles ( PdfRpt.Core.Contracts.CellAttributes attributes ) : FontSelector

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 An array of PdfContentByte to add text or graphics
attributes PdfRpt.Core.Contracts.CellAttributes Current cell's custom attributes
return void

HyperlinkField() public method

ctor.
public HyperlinkField ( BaseColor foreColor, bool fontUnderline ) : System
foreColor iTextSharp.text.BaseColor
fontUnderline bool
return System

RenderingCell() public method

Custom cell's content template as a PdfPCell
public RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : PdfPCell
attributes PdfRpt.Core.Contracts.CellAttributes
return iTextSharp.text.pdf.PdfPCell