c# - Using WebBrowser Control - Hiding all the HTMLElements apart from one Div -


i'm using webbrowser control load page. want hide html elements in page apart particular div (and children). i've id of particular div. how can hide other elements?

edit

i'm creating webbrowser instance dynamically. want navigate url , take screen shot of page partially (a particular div). want hide other elements in page , take screenshot.

i used jquery hide elements apart div , children. referred this post script , called script in webbrowser using invokescript(). worked perfectly.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -