PdfRpt.FluentInterface.ColumnItemsTemplateBuilder.Hyperlink C# (CSharp) 메소드

Hyperlink() 공개 메소드

Displaying current cell's data as a hyperlink
public Hyperlink ( System foreColor, bool fontUnderline, string textPropertyName = "", string navigationUrlPropertyName = "" ) : void
foreColor System
fontUnderline bool
textPropertyName string If you don't set TextPropertyName, current cell's text will be used as hyperlink's text.
navigationUrlPropertyName string If you don't set NavigationUrlPropertyName, current cell's text will be used as hyperlink's target url.
리턴 void
        public void Hyperlink(System.Drawing.Color foreColor, bool fontUnderline, string textPropertyName = "", string navigationUrlPropertyName = "")
        {
            _columnItemsTemplate = new HyperlinkField(new BaseColor(foreColor.ToArgb()), fontUnderline)
            {
                NavigationUrlPropertyName = navigationUrlPropertyName,
                TextPropertyName = textPropertyName
            };
        }