用函数GetEnvironment获取当前的环境信息
Environment le_env
Int li_ScreenHeight, li_ScreenWidth
Long ll_posx,ll_posy
GetEnvironment(le_env)
li_ScreenHeight = le_env.ScreenHeight // 当前屏幕的像素高度
li_screenwidth = le_env.ScreenWidth // 当前屏幕的像素宽度
本文介绍了一种使用GetEnvironment函数来获取当前屏幕分辨率的方法,包括屏幕的高度和宽度。
用函数GetEnvironment获取当前的环境信息
Environment le_env
Int li_ScreenHeight, li_ScreenWidth
Long ll_posx,ll_posy
GetEnvironment(le_env)
li_ScreenHeight = le_env.ScreenHeight // 当前屏幕的像素高度
li_screenwidth = le_env.ScreenWidth // 当前屏幕的像素宽度

被折叠的 条评论
为什么被折叠?