Getting width of html img element with HtmlAgilityPack

ronaldo7

New Member
I am trying to get the value of an img tag with HtmlAgility pack like...\[code\] HtmlAgilityPack.HtmlAttribute width = link.Attributes["width"]; HtmlAgilityPack.HtmlAttribute height = link.Attributes["height"];\[/code\]but this returns 50px. however, I need only 50 to convert to number. Any helpppp please.
 
Back
Top