Hello!
I'm writing basic HTML text using PdfHTMLTextElement with paginate support. (This is because there is issue related to HTML that is nos displayed correctly on reports + RDLC
ID: 292637
). With this object the HTML text is displayed correctly but there is hidden text on resulted PDF. If the user search a text then many results appeared. I have tried different things but all text (visible and hidden) is always on PDF. So, my idea was to use redaction to clean hidden text but this is partially done, there is still some hidden text that can be selected and searched.
I'm attaching the console application to see the issue. When running you can see the following files on debug folder.
- xxxxxxOutput.pdf: pdf file with HTML text. Text can be searched or selected on blank zones.
- xxxxxxOutput - TEST.pdf: Redaction is applied here in this case for all lines collection but for all section I had the same result:
Text can be searched or selected on redacted zones.
- xxxxxxOutput - new.pdf: In this file section redaction is used with no result in all section. Additionally when I applied the same Redaction on different pages the visible text in the following pages is hidden.
Well, any help is appreciated.
Hi Gowthamraj K,
Ok, I will try a different approach in that case.
Thanks!