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.