DesktopDepth()
语法
Result = DesktopDepth(#Desktop)概要
Returns the color depth of the specified desktop.
参数
#Desktop The index of the desktop. The first index always specifies the primary monitor. The first index value is zero.
返回值
Returns the depth in bits-per-pixel: 1, 2, 4, 8, 15, 16, 24 or 32-bit
Remarks
ExamineDesktops() must be called before using this function to retrieve information about the available desktops.
示例
ExamineDesktops() MessageRequester("Display Information", "Current resolution = "+Str(DesktopWidth(0))+"x"+Str(DesktopHeight(0))+"x"+Str(DesktopDepth(0)))
参阅
ExamineDesktops(), DesktopFrequency(), DesktopHeight(), DesktopName(), DesktopWidth()
已支持操作系统
所有