当前位置:K88软件开发文章中心编程语言B4AB4A01 → 文章内容

B4A显示的宽度(pixels)

减小字体 增大字体 作者:本站  来源:本站整理  发布时间:2019-1-6 12:57:14

Loop
While
当条件为真时,循环执行
语法:
Do While condition
...
Loop
LayoutValues
Holds values related to the display.
与显示相关的数值
你可以通过GetDeviceLayoutValues获取当前显示界面相关的数值
例如:
Dim lv As LayoutValues
lv = GetDeviceLayoutValues
Log(lv) '调试打印
Activity.LoadLayout and Panel.LoadLayout
返回一个指定的LayoutValues 对象的布局值
事件:

成员:
Height As Int
Scale As Float
toString As String
Width As Int
成员描述:
Height As Int
显示的高度(pixels)
Scale As Float
The device scale value which is equal to 'dots per inch' / 160. For most devices the value
will be 1.0 or 1.5 (high resolution).
相较于标准分辨率的放大比例
toString As String
Width As Int
显示的宽度(pixels)
String


B4A显示的宽度(pixels)