PdfRpt.Core.PdfTable.TableCellHelper.AddRowNumberCell C# (CSharp) Method

AddRowNumberCell() public method

Adds a new row number PdfPCell to the MainTable
public AddRowNumberCell ( BaseColor backgroundColor, BaseColor foreColor, int columnNumber ) : PdfRpt.Core.Contracts.CellAttributes
backgroundColor iTextSharp.text.BaseColor
foreColor iTextSharp.text.BaseColor
columnNumber int
return PdfRpt.Core.Contracts.CellAttributes
        public CellAttributes AddRowNumberCell(BaseColor backgroundColor, BaseColor foreColor, int columnNumber)
        {
            return AddGeneralCell(
                backgroundColor,
                foreColor,
                CurrentRowInfoData.LastGroupRowNumber,
                columnNumber,
                RowType.DataTableRow,
                CellType.DataTableCell);
        }