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

AddPreviousPageSummaryCell() public method

Adds a new PreviousPageSummary PdfPCell to the MainTable
public AddPreviousPageSummaryCell ( 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 AddPreviousPageSummaryCell(BaseColor backgroundColor, BaseColor foreColor, int columnNumber)
        {
            var alignment = SharedData.SummarySettings.PreviousPageSummarySettings.LabelHorizontalAlignment;
            return AddGeneralCell(
                backgroundColor,
                foreColor,
                SharedData.SummarySettings.PreviousPageSummarySettings.Label,
                columnNumber,
                RowType.PreviousPageSummaryRow,
                CellType.PreviousPageSummaryCell,
                horizontalAlignment: alignment.HasValue ? alignment.Value : HorizontalAlignment.None);
        }