public RenderingCell ( PdfRpt.Core.Contracts.CellAttributes attributes ) : |
||
attributes | PdfRpt.Core.Contracts.CellAttributes | |
리턴 |
public PdfPCell RenderingCell(CellAttributes attributes)
{
var data = FuncHelper.ApplyFormula(attributes.BasicProperties.DisplayFormatFormula, attributes.RowData.Value);
attributes.RowData.FormattedValue = data;
var img = _barcode.GetBarcodeImage(data, attributes.SharedData.PdfWriter.DirectContent);
return new PdfPCell(img)
{
PaddingTop = 5,
};
}