I am using the following code in the load of my Default.aspx page to specify which resource to use for an image in the Site.Master file then change its height. How do I get the current position of the image and move it slightly to the left?
Dim img1 As Image = DirectCast(Master.FindControl(oControl_Name), Image)
img1.ImageUrl = "~/Resources/" & oResource_Name
If IsNumeric(oHeight) = True Then
Dim Hgt As Integer = CInt(oHeight)
img1.Height = Hgt