As I wrote here can we have GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer?
EDIT 1:
We already have options to check. Sorry.
EDIT 2:
Code from EDIT 1 is not correct. We still need GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer.
EDIT 1:
If 100%y < 400dip Then
Ad.Height = 32dip
Else If 100%y > 400dip And 100%y <= 720dip Then
Ad.Height = 50dip
Else If 100%y > 720dip Then
Ad.Height = 90dip
End If
EDIT 2:
Code from EDIT 1 is not correct. We still need GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer.
Last edited: