PdfRpt.Core.Helper.TableHelper.CreateEmptyRowTable C# (CSharp) Method

CreateEmptyRowTable() public static method

Creates a new PdfGrid with one column and row.
public static CreateEmptyRowTable ( string phrase = " ", float widthPercentage = 100, float fixedHeight = 35, int border ) : PdfGrid
phrase string An optional phrase to display
widthPercentage float Width of the table
fixedHeight float Height of the table
border int Border width
return PdfRpt.Core.Contracts.PdfGrid
        public static PdfGrid CreateEmptyRowTable(string phrase = " ", float widthPercentage = 100, float fixedHeight = 35, int border = 0)
        {
            var table = new PdfGrid(1) { WidthPercentage = widthPercentage };
            var emptyHeaderCell = new PdfPCell(new Phrase(phrase)) { Border = border, FixedHeight = fixedHeight };
            table.AddCell(emptyHeaderCell);
            return table;
        }