PdfRpt.ColumnsItemsTemplates.HyperlinkField.getAnchor C# (CSharp) Method

getAnchor() private method

private getAnchor ( FontSelector fontSelector, PdfRpt.Core.Contracts.CellAttributes attributes ) : Anchor
fontSelector iTextSharp.text.pdf.FontSelector
attributes PdfRpt.Core.Contracts.CellAttributes
return iTextSharp.text.Anchor
        private Anchor getAnchor(FontSelector fontSelector, CellAttributes attributes)
        {
            var text = getText(attributes);
            var url = getUrl(attributes);
            var anchor = new Anchor(fontSelector.Process(text.ToSafeString())) { Reference = url };
            return anchor;
        }