html - Image height and width in HtmlAgility.HtmlNodeCollection c# -


i downloading whole site html tags , assigned htmlagility.htmlnodecollection c#. filtering image src in html.

this code:

string responsefromserver = string.empty; uri url = new uri(requestedurl); using (webclient wc = new webclient()) {     responsefromserver = wc.downloadstring(url); } htmldocument htmldoc = new htmldocument(); htmldoc.loadhtml(responsefromserver); 

so, there way image height , width or element height , width using htmlnodecollection class?

read :
https://msdn.microsoft.com/en-us/library/system.windows.forms.htmldocument.images(v=vs.110).aspx
replace "src" "width" , "height"


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -