Пример #1
0
        /// <summary>
        /// To add table cell with border
        /// </summary>
        /// <param name="value"></param>
        /// <param name="font"></param>
        /// <returns>PdfPCell</returns>
        private static PdfPCell GetBorderedCell(String value, Font font)
        {
            PdfPCell pdfPCell = new PdfPCell();
            pdfPCell.EnableBorderSide(Rectangle.RIGHT_BORDER);
            pdfPCell.AddElement(new Phrase(value, font));

            return pdfPCell;
        }