Get exact cordinates of the page to add a watermark with different page rotation using iTextSharp
问题 I have been trying to position a Text Water marks on PDF file using iTextSharp and i am struggling to find the coordinates on each page. it works fine when all the pages in pdf file are of same rotation but if the rotation is different then the coordinates are completely different. PdfImportedPage page = stamper.GetImportedPage(pdfReader, i); var rotationValue = page.Rotation; and to add the watermark cb.ShowTextAligned(PdfContentByte.ALIGN_LEFT, "This is WaterMark 1", 20, 20, 90f); this code