arthurh88
asked on
ASP.NET how to Get Image Height as an Integer
Given the control Image1. How do I get its height as an integer?
Dim Height as Integer = Image1.Height
fails with the error "value of type 'System.Web.Ui.Webcontrols .Unit' cannot be converted to 'Integer'
I need the height in an integer format so that I can use a formula to change it.
Dim Height as Integer = Image1.Height
fails with the error "value of type 'System.Web.Ui.Webcontrols
I need the height in an integer format so that I can use a formula to change it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.