I am getting the response from a URL and trying to create pdf from the response.
I am using iTextSharp.
The HTML of the URL has some images which have styles defined as
style=”display:none”. In the pdf these images are visible. How to make them invisible.
I have tried with replacing “display:none” with “visibility:hidden”. But this did not work.
Can anyone please tell how to do that?
Try to set the
widthandheightto0pxYou can use CSS media types to do this for print only