private setFontStyles ( PdfRpt.Core.Contracts.CellAttributes attributes ) : |
||
attributes | PdfRpt.Core.Contracts.CellAttributes | |
return |
private FontSelector setFontStyles(CellAttributes attributes)
{
foreach (var font in attributes.BasicProperties.PdfFont.Fonts)
{
font.Color = _foreColor;
if (_fontUnderline) font.SetStyle(Font.UNDERLINE);
}
return attributes.BasicProperties.PdfFont.FontSelector;
}