Goran Bibic

Goran Bibic

  • 482
  • 2.9k
  • 197.8k

ITEXTSHARP C#

May 17 2023 11:10 AM

Rotate pdf table

Set location for table


          

 PdfPTable pdfTable = new PdfPTable(9);
            BaseFont bfCalibri = BaseFont.CreateFont("c:\\windows\\fonts\\calibri.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
            iTextSharp.text.Font calibri = new iTextSharp.text.Font(bfCalibri, 8);
            iTextSharp.text.Font calibri2 = new iTextSharp.text.Font(bfCalibri, 9);
            PdfPCell cell = new PdfPCell(new Phrase("EVIDENICIJA UTROŠKA GORIVA I MAZIVA"));
            cell.Colspan = 9;
            cell.HorizontalAlignment = 1;


            pdfTable.AddCell(cell);
            cell.VerticalAlignment = 1;
            cell.HorizontalAlignment = 1;
            cell.VerticalAlignment = 1;


Answers (2)