I'm facing one issue while using the CleanUp method of PdfCleanUpProcess Class of ITextSharp, I'm Tring to redact text from PDF file, but when I call the CleanUp method it removes the whole line instead of a particular word, I'm providing correct coordinates of word here is a code sample
iTextSharp.text.pdf.PdfReader pdfReaderF = new iTextSharp.text.pdf.PdfReader(fileLocation);
iTextSharp.text.pdf.PdfStamper stamperF = new iTextSharp.text.pdf.PdfStamper(pdfReaderF, new FileStream(outputfile, FileMode.Create));
iTextSharp.xtra.iTextSharp.text.pdf.pdfcleanup.PdfCleanUpProcessor cleaner = new iTextSharp.xtra.iTextSharp.text.pdf.pdfcleanup.PdfCleanUpProcessor(listCleanUp, stamperF);
cleaner.CleanUp();
stamperF.Close();
pdfReaderF.Close();
Thanks