C# Class PdfRpt.ColumnsItemsTemplates.HyperlinkField

Displaying current cell's data as a hyperlink
Inheritance: IColumnItemsTemplate
Afficher le fichier Open project: VahidN/PdfReport

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

HyperlinkField() public méthode

ctor.
public HyperlinkField ( BaseColor foreColor, bool fontUnderline ) : System
foreColor iTextSharp.text.BaseColor
fontUnderline bool
Résultat System

RenderingCell() public méthode

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