User Function总结

85 阅读1分钟

User Functions

OutSystemsUI

DeviceDetection->GetDiviceOrientation() data type Text

Get the current device orientation 获取当前设备朝向

  • Portrait: 纵向
  • Landscape: 横向

DeviceDetection->GetDeviceType() data type Text

Get the current device type 获取当前设备类型

image.png 注:ToLower()将英文字母全部转为小写字母