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
Post a Comment