itextsharp place Pdfptable at desired position
Header Content and Pdftable is overlapping How can I place PdfPTable at any position in the pdf page using (x, y) positioning like (100, 200) or (15, 100) at any place on the pdf page? Header Table using PdfEventHelper public override void OnEndPage(PdfWriter writer, Document document) { AddHeader(writer, document); } public void AddHeader(PdfWriter writer, Document document) { // set no of rows PdfPTable headerTable = new PdfPTable(1); // set the width headerTable.TotalWidth = document.PageSize.Width; headerTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER; PdfPCell company = new P
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.